aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2014-07-16 20:37:03 +0000
committerDimitry Andric <dim@FreeBSD.org>2014-07-16 20:37:03 +0000
commitcfe17cfcace61f9c2c4913a80e75ce9873b36be0 (patch)
tree17ae0989937f06603b4b125b6a495162a5533cdf
parentdab496863c2ec81bc30086bcac1cd64682f227f4 (diff)
downloadsrc-cfe17cfcace61f9c2c4913a80e75ce9873b36be0.tar.gz
src-cfe17cfcace61f9c2c4913a80e75ce9873b36be0.zip
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 MFC after: 3 days
Notes
Notes: svn path=/head/; revision=268774
-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 deba3e5e8459..d8873a69c2ca 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