svn commit: r260026 - in head/sys: conf modules/wlan

Dimitry Andric dim at FreeBSD.org
Sat Dec 28 23:17:25 UTC 2013


Author: dim
Date: Sat Dec 28 23:17:24 2013
New Revision: 260026
URL: http://svnweb.freebsd.org/changeset/base/260026

Log:
  Disable warning about unused functions for ieee80211_crypto.c and
  ieee80211_mesh.c for now.
  
  MFC after:	3 days

Modified:
  head/sys/conf/files
  head/sys/modules/wlan/Makefile

Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files	Sat Dec 28 23:12:32 2013	(r260025)
+++ head/sys/conf/files	Sat Dec 28 23:17:24 2013	(r260026)
@@ -3132,7 +3132,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
@@ -3145,7 +3146,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: head/sys/modules/wlan/Makefile
==============================================================================
--- head/sys/modules/wlan/Makefile	Sat Dec 28 23:12:32 2013	(r260025)
+++ head/sys/modules/wlan/Makefile	Sat Dec 28 23:17:24 2013	(r260026)
@@ -31,3 +31,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-head mailing list