diff --git a/lib/libzpool/include/sys/zfs_context.h b/lib/libzpool/include/sys/zfs_context.h index 0e7019bba8..f924dd1a64 100644 --- a/lib/libzpool/include/sys/zfs_context.h +++ b/lib/libzpool/include/sys/zfs_context.h @@ -195,7 +195,7 @@ typedef struct kthread kthread_t; zk_thread_create(func, arg) #define thread_exit() thr_exit(NULL) -extern kthread_t *zk_thread_create(void (*func)(), void *arg); +extern kthread_t *zk_thread_create(void (*func)(void), void *arg); #define issig(why) (FALSE) #define ISSIG(thr, why) (FALSE)