From 0ef67128260e496c54635e4d647ea39e07169499 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 8 Dec 2008 15:29:59 -0800 Subject: [PATCH 1/2] Add missing #include --- zfs/lib/libspl/include/sys/zfs_context.h | 1 + 1 file changed, 1 insertion(+) diff --git a/zfs/lib/libspl/include/sys/zfs_context.h b/zfs/lib/libspl/include/sys/zfs_context.h index 6c3fb41c93..0328e22eb9 100644 --- a/zfs/lib/libspl/include/sys/zfs_context.h +++ b/zfs/lib/libspl/include/sys/zfs_context.h @@ -71,6 +71,7 @@ extern "C" { #include #include #include +#include #include /* From 7b4a0400023db8aea2b6ac55629bccb997f7cf4a Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 8 Dec 2008 15:31:41 -0800 Subject: [PATCH 2/2] Correct missing void in prototype --- zfs/lib/libspl/kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfs/lib/libspl/kernel.c b/zfs/lib/libspl/kernel.c index fe817cc64b..9740f1ba6e 100644 --- a/zfs/lib/libspl/kernel.c +++ b/zfs/lib/libspl/kernel.c @@ -56,7 +56,7 @@ struct utsname utsname = { */ /*ARGSUSED*/ kthread_t * -zk_thread_create(void (*func)(), void *arg) +zk_thread_create(void (*func)(void), void *arg) { thread_t tid;