X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2FSCRC%2Ffunptr.c;fp=16%2FSCRC%2Ffunptr.c;h=0000000000000000000000000000000000000000;hb=d173c64f8f2db1b117bf25e4b74db4f404ea9d79;hp=90fcbde3f9eb6de58f4b51de5169f1eb78b4ce61;hpb=0dfcfd175f6b30ae2ed5ba87d4f91e92e00a73d2;p=16.git diff --git a/16/SCRC/funptr.c b/16/SCRC/funptr.c deleted file mode 100755 index 90fcbde3..00000000 --- a/16/SCRC/funptr.c +++ /dev/null @@ -1,42 +0,0 @@ -#include - -/* a function pointer to a void pointer which takes one int argument */ -typedef void (*trigger)(int); - - -/* invokes a list of functions from an array */ -void invokeTriggers(trigger *list, int n) { - int i; - trigger *tf = list; - - for(i=0; i