Better type checking on function callback.

This commit is contained in:
carl 2019-03-17 22:22:19 +08:00
parent 43ea6e2bec
commit 9e93eb642b

View 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;