summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-01-26 14:27:34 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-01-26 14:27:34 +1300
commit0b11884cf63aea814f3a6c1c9ce61ef8ddeaf372 (patch)
tree210a0abc8e9ae4ab9308bc72589d7db50eaf718b
parentRemove unneeded name from prototype (diff)
downloadfuncptr-0b11884cf63aea814f3a6c1c9ce61ef8ddeaf372.tar.gz
funcptr-0b11884cf63aea814f3a6c1c9ce61ef8ddeaf372.zip
Add declaration for static int
-rw-r--r--funcptr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/funcptr.c b/funcptr.c
index adeb21c..478beca 100644
--- a/funcptr.c
+++ b/funcptr.c
@@ -4,6 +4,7 @@
int doub(int);
int trip(int);
int half(int);
+static int (*fpv[])(int);
void fpv_exec(int (**)(int), int);
int doub(int i) {