svn commit: r263450 - in stable/9/sys: conf modules/ipfilter
Dimitry Andric
dim at FreeBSD.org
Thu Mar 20 21:49:25 UTC 2014
Author: dim
Date: Thu Mar 20 21:49:24 2014
New Revision: 263450
URL: http://svnweb.freebsd.org/changeset/base/263450
Log:
MFC r260039:
Turn off warnings about unused variables for a bunch of files under
contrib/ipfilter.
Modified:
stable/9/sys/conf/files
stable/9/sys/modules/ipfilter/Makefile
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/conf/files
==============================================================================
--- stable/9/sys/conf/files Thu Mar 20 21:19:13 2014 (r263449)
+++ stable/9/sys/conf/files Thu Mar 20 21:49:24 2014 (r263450)
@@ -302,29 +302,29 @@ contrib/dev/acpica/utilities/utstate.c
contrib/dev/acpica/utilities/utxface.c optional acpi
contrib/dev/acpica/utilities/utxferror.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/libfdt/fdt.c optional fdt
Modified: stable/9/sys/modules/ipfilter/Makefile
==============================================================================
--- stable/9/sys/modules/ipfilter/Makefile Thu Mar 20 21:19:13 2014 (r263449)
+++ stable/9/sys/modules/ipfilter/Makefile Thu Mar 20 21:49:24 2014 (r263450)
@@ -27,7 +27,15 @@ 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_lookup.c= ${NO_WSELF_ASSIGN} -Wno-unused
+CWARNFLAGS.ip_nat.c= -Wno-unused
+CWARNFLAGS.ip_pool.c= -Wno-unused
+CWARNFLAGS.ip_proxy.c= ${NO_WSELF_ASSIGN} -Wno-unused
+CWARNFLAGS.ip_state.c= -Wno-unused
+CWARNFLAGS.ip_sync.c= -Wno-unused
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
More information about the svn-src-stable-9
mailing list