svn commit: r260273 - in stable: 10/sys/conf 10/sys/modules/wlan 9/sys/conf 9/sys/modules/wlan
Dimitry Andric
dim at FreeBSD.org
Sat Jan 4 18:24:46 UTC 2014
Author: dim
Date: Sat Jan 4 18:24:45 2014
New Revision: 260273
URL: http://svnweb.freebsd.org/changeset/base/260273
Log:
MFC r260026:
Disable warning about unused functions for ieee80211_crypto.c and
ieee80211_mesh.c for now.
Modified:
stable/9/sys/conf/files
stable/9/sys/modules/wlan/Makefile
Directory Properties:
stable/9/sys/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/10/sys/conf/files
stable/10/sys/modules/wlan/Makefile
Directory Properties:
stable/10/ (props changed)
Modified: stable/9/sys/conf/files
==============================================================================
--- stable/9/sys/conf/files Sat Jan 4 18:19:53 2014 (r260272)
+++ stable/9/sys/conf/files Sat Jan 4 18:24:45 2014 (r260273)
@@ -2749,7 +2749,8 @@ net80211/ieee80211_ageq.c optional wlan
net80211/ieee80211_adhoc.c optional wlan
net80211/ieee80211_ageq.c optional wlan
net80211/ieee80211_amrr.c optional wlan | wlan_amrr
-net80211/ieee80211_crypto.c optional wlan
+net80211/ieee80211_crypto.c optional wlan \
+ compile-with "${NORMAL_C} -Wno-unused-function"
net80211/ieee80211_crypto_ccmp.c optional wlan wlan_ccmp
net80211/ieee80211_crypto_none.c optional wlan
net80211/ieee80211_crypto_tkip.c optional wlan wlan_tkip
@@ -2762,7 +2763,8 @@ net80211/ieee80211_ht.c optional wlan
net80211/ieee80211_hwmp.c optional wlan ieee80211_support_mesh
net80211/ieee80211_input.c optional wlan
net80211/ieee80211_ioctl.c optional wlan
-net80211/ieee80211_mesh.c optional wlan ieee80211_support_mesh
+net80211/ieee80211_mesh.c optional wlan ieee80211_support_mesh \
+ compile-with "${NORMAL_C} -Wno-unused-function"
net80211/ieee80211_monitor.c optional wlan
net80211/ieee80211_node.c optional wlan
net80211/ieee80211_output.c optional wlan
Modified: stable/9/sys/modules/wlan/Makefile
==============================================================================
--- stable/9/sys/modules/wlan/Makefile Sat Jan 4 18:19:53 2014 (r260272)
+++ stable/9/sys/modules/wlan/Makefile Sat Jan 4 18:24:45 2014 (r260273)
@@ -30,3 +30,7 @@ opt_ddb.h:
.endif
.include <bsd.kmod.mk>
+
+CWARNFLAGS.ieee80211_crypto.c= -Wno-unused-function
+CWARNFLAGS.ieee80211_mesh.c= -Wno-unused-function
+CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
More information about the svn-src-stable-9
mailing list