aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ipfilter
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-12-30 13:16:59 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-12-30 13:16:59 +0000
commit97a15669a0ac7b2ad99edfb1a65d824ebcaf9a2d (patch)
treeac52d2fd945773a05e42149c733bc2c4a8147cbf /sys/modules/ipfilter
parent93b03d5dc7b2a30a7e5a1d1224178380bd3ebc01 (diff)
Disable several instances instances of clang's -Wself-assign warning.
All of these are harmless, and are in fact used to shut up warnings from lint. While here, remove -Wno-missing-prototypes from the xfs module Makefile, as I could not reproduce those warnings either with gcc or clang. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=228994
Diffstat (limited to 'sys/modules/ipfilter')
-rw-r--r--sys/modules/ipfilter/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/modules/ipfilter/Makefile b/sys/modules/ipfilter/Makefile
index 9cfb0f6ad5fc..db780e9a6797 100644
--- a/sys/modules/ipfilter/Makefile
+++ b/sys/modules/ipfilter/Makefile
@@ -26,3 +26,8 @@ CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
#
.include <bsd.kmod.mk>
+
+CWARNFLAGS.fil.c= ${NO_WSELF_ASSIGN}
+CWARNFLAGS.ip_proxy.c= ${NO_WSELF_ASSIGN}
+CWARNFLAGS.ip_lookup.c= ${NO_WSELF_ASSIGN}
+CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}