From 9e93eb642b2e8c179bb774f45b1b6d9d01a506c4 Mon Sep 17 00:00:00 2001 From: carl Date: Sun, 17 Mar 2019 22:22:19 +0800 Subject: [PATCH] Better type checking on function callback. --- modules/src/idf/idf_pkg.body | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/src/idf/idf_pkg.body b/modules/src/idf/idf_pkg.body index 5d1260d75..cb6aa7b0d 100644 --- a/modules/src/idf/idf_pkg.body +++ b/modules/src/idf/idf_pkg.body @@ -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; -- 2.34.1