svn commit: r260039 - in head/sys: conf modules/ipfilter
Dimitry Andric
dim at FreeBSD.org
Sun Dec 29 14:21:55 UTC 2013
Author: dim
Date: Sun Dec 29 14:21:55 2013
New Revision: 260039
URL: http://svnweb.freebsd.org/changeset/base/260039
Log:
Turn off warnings about unused variables for a bunch of files under
contrib/ipfilter.
MFC after: 3 days
Modified:
head/sys/conf/files
head/sys/modules/ipfilter/Makefile
Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files Sun Dec 29 14:19:15 2013 (r260038)
+++ head/sys/conf/files Sun Dec 29 14:21:55 2013 (r260039)
@@ -456,39 +456,39 @@ contrib/dev/acpica/components/utilities/
contrib/dev/acpica/components/utilities/utxfinit.c optional acpi
#contrib/dev/acpica/components/utilities/utxfmutex.c optional acpi
contrib/ipfilter/netinet/fil.c optional ipfilter inet \
- compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_auth.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_fil_freebsd.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_frag.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_log.c optional ipfilter inet \
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_nat.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_proxy.c optional ipfilter inet \
- compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_state.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_lookup.c optional ipfilter inet \
- compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -Wno-error -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -Wno-unused -Wno-error -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_pool.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_htable.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_sync.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/mlfk_ipl.c optional ipfilter inet \
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_nat6.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_rules.c optional ipfilter inet \
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_scan.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/ip_dstlist.c optional ipfilter inet \
- compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
+ compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
contrib/ipfilter/netinet/radix_ipf.c optional ipfilter inet \
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
contrib/libfdt/fdt.c optional fdt
Modified: head/sys/modules/ipfilter/Makefile
==============================================================================
--- head/sys/modules/ipfilter/Makefile Sun Dec 29 14:19:15 2013 (r260038)
+++ head/sys/modules/ipfilter/Makefile Sun Dec 29 14:21:55 2013 (r260039)
@@ -28,7 +28,18 @@ CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DI
.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.fil.c= ${NO_WSELF_ASSIGN} -Wno-unused
+CWARNFLAGS.ip_auth.c= -Wno-unused
+CWARNFLAGS.ip_fil_freebsd.c= -Wno-unused
+CWARNFLAGS.ip_frag.c= -Wno-unused
+CWARNFLAGS.ip_htable.c= -Wno-unused
+CWARNFLAGS.ip_dstlist.c= -Wno-unused
+CWARNFLAGS.ip_lookup.c= ${NO_WSELF_ASSIGN} -Wno-unused
+CWARNFLAGS.ip_nat.c= -Wno-unused
+CWARNFLAGS.ip_nat6.c= -Wno-unused
+CWARNFLAGS.ip_pool.c= -Wno-unused
+CWARNFLAGS.ip_proxy.c= ${NO_WSELF_ASSIGN} -Wno-unused
+CWARNFLAGS.ip_scan.c= -Wno-unused
+CWARNFLAGS.ip_state.c= -Wno-unused
+CWARNFLAGS.ip_sync.c= -Wno-unused
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
More information about the svn-src-head
mailing list