Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2013 23:17:25 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r260026 - in head/sys: conf modules/wlan
Message-ID:  <201312282317.rBSNHPjT007210@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312282317.rBSNHPjT007210>