Better type checking on function callback.
authorcarl <cecodere@yahoo.ca>
Sun, 17 Mar 2019 14:22:19 +0000 (22:22 +0800)
committercarl <cecodere@yahoo.ca>
Sun, 17 Mar 2019 14:46:31 +0000 (22:46 +0800)
modules/src/idf/idf_pkg.body

index 5d1260d..cb6aa7b 100644 (file)
@@ -93,7 +93,7 @@ void hash_stat(void)
        print("End hash table tally\n");
 }
 
-void idfappfun(int (*fun)(), int opt)
+void idfappfun(int (*fun)(struct idf *, int), int opt)
 {
        register int i;