summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-07-19 18:33:09 +0000
committerdim <dim@FreeBSD.org>2014-07-19 18:33:09 +0000
commit7c6dab81e9ffdaf6c97b1a66af829d8d68b17bf1 (patch)
tree4f74381a1b2d58bb4ff7db51581c35bc70cb491a /sys/conf
parentc62a7a5557c69ee25d4bb0aff7674251e1a34ad2 (diff)
downloadFreeBSD-src-7c6dab81e9ffdaf6c97b1a66af829d8d68b17bf1.zip
FreeBSD-src-7c6dab81e9ffdaf6c97b1a66af829d8d68b17bf1.tar.gz
MFC r268774:
After r261991, clang warnings about unused functions in the kernel were completely silenced. Make sure these warnings appear again, so there is some incentive to fix them, but do not error out the whole kernel build for them. Noticed by: steven@pyro.eu.org PR: 191867
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 7f3f394..34535c3 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -29,7 +29,7 @@ NO_WSOMETIMES_UNINITIALIZED= -Wno-error-sometimes-uninitialized
# enough to error out the whole kernel build. Display them anyway, so there is
# some incentive to fix them eventually.
CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
- -Wno-error-parentheses-equality -Wno-unused-function \
+ -Wno-error-parentheses-equality -Wno-error-unused-function \
${NO_WFORMAT}
.endif
OpenPOWER on IntegriCloud