diff --git a/zfs/lib/libumem/getpcstack.c b/zfs/lib/libumem/getpcstack.c index 8c3a47e19f..4b8b12ced7 100644 --- a/zfs/lib/libumem/getpcstack.c +++ b/zfs/lib/libumem/getpcstack.c @@ -97,9 +97,9 @@ getpcstack(uintptr_t *pcstack, int pcstack_limit, int check_signal) } if (check_signal != 0) { - void (*sigfunc)() = NULL; + void (*sigfunc)(void) = NULL; int sigfuncsize = 0; - extern void thr_sighndlrinfo(void (**)(), int *); + extern void thr_sighndlrinfo(void (**)(void), int *); thr_sighndlrinfo(&sigfunc, &sigfuncsize); sigbase = (uintptr_t)sigfunc;