aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2017-10-02 11:55:11 +0000
committerAndriy Gapon <avg@FreeBSD.org>2017-10-02 11:55:11 +0000
commite0cb71a82ff0939501a50dd2ff4c7afd94efe665 (patch)
tree7fa9bb6751839c9880afd8567ce4fd2175828647 /lib
parent23cfd1c3cf3f2dcd23c937052fcb6ecd01129d51 (diff)
downloadsrc-e0cb71a82ff0939501a50dd2ff4c7afd94efe665.tar.gz
src-e0cb71a82ff0939501a50dd2ff4c7afd94efe665.zip
8081 Compiler warnings in zdb
illumos/illumos-gate@3f7978d02b206a6ebc5652c91aa9f42da6fbe00c https://github.com/illumos/illumos-gate/commit/3f7978d02b206a6ebc5652c91aa9f42da6fbe00c https://www.illumos.org/issues/8081 zdb(8) is full of minor problems that generate compiler warnings. On FreeBSD, which uses -WError, the only way to build it is to disable all compiler warnings. This makes it much harder to detect newly introduced bugs. We should cleanup all the warnings. Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net> Author: Alan Somers <asomers@gmail.com>
Notes
Notes: svn path=/vendor-sys/illumos/dist/; revision=324198
Diffstat (limited to 'lib')
-rw-r--r--lib/libzpool/common/sys/zfs_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libzpool/common/sys/zfs_context.h b/lib/libzpool/common/sys/zfs_context.h
index 2fb336fcf984..01c12b90a869 100644
--- a/lib/libzpool/common/sys/zfs_context.h
+++ b/lib/libzpool/common/sys/zfs_context.h
@@ -197,7 +197,8 @@ extern struct proc p0;
#define PS_NONE -1
-extern kthread_t *zk_thread_create(void (*func)(), void *arg);
+extern kthread_t *zk_thread_create(void (*func)(void*), void *arg,
+ uint64_t len);
#define issig(why) (FALSE)
#define ISSIG(thr, why) (FALSE)