Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 20:11:06 +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: r261899 - in head/sys: conf modules/wlan
Message-ID:  <201402142011.s1EKB6ST011933@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Fri Feb 14 20:11:06 2014
New Revision: 261899
URL: http://svnweb.freebsd.org/changeset/base/261899

Log:
  Similar to r260026, disable warning about unused functions for
  ieee80211_adhoc.c, ieee80211_hostap.c and ieee80211_sta.c.
  
  MFC after:	3 days

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

Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files	Fri Feb 14 19:43:00 2014	(r261898)
+++ head/sys/conf/files	Fri Feb 14 20:11:06 2014	(r261899)
@@ -3124,7 +3124,8 @@ net80211/ieee80211.c		optional wlan
 net80211/ieee80211_acl.c	optional wlan wlan_acl
 net80211/ieee80211_action.c	optional wlan
 net80211/ieee80211_ageq.c	optional wlan
-net80211/ieee80211_adhoc.c	optional wlan
+net80211/ieee80211_adhoc.c	optional wlan \
+	compile-with "${NORMAL_C} -Wno-unused-function"
 net80211/ieee80211_ageq.c	optional wlan
 net80211/ieee80211_amrr.c	optional wlan | wlan_amrr
 net80211/ieee80211_crypto.c	optional wlan \
@@ -3136,7 +3137,8 @@ net80211/ieee80211_crypto_wep.c	optional
 net80211/ieee80211_ddb.c	optional wlan ddb
 net80211/ieee80211_dfs.c	optional wlan
 net80211/ieee80211_freebsd.c	optional wlan
-net80211/ieee80211_hostap.c	optional wlan
+net80211/ieee80211_hostap.c	optional wlan \
+	compile-with "${NORMAL_C} -Wno-unused-function"
 net80211/ieee80211_ht.c		optional wlan
 net80211/ieee80211_hwmp.c	optional wlan ieee80211_support_mesh
 net80211/ieee80211_input.c	optional wlan
@@ -3156,7 +3158,8 @@ net80211/ieee80211_regdomain.c	optional 
 net80211/ieee80211_rssadapt.c	optional wlan wlan_rssadapt
 net80211/ieee80211_scan.c	optional wlan
 net80211/ieee80211_scan_sta.c	optional wlan
-net80211/ieee80211_sta.c	optional wlan
+net80211/ieee80211_sta.c	optional wlan \
+	compile-with "${NORMAL_C} -Wno-unused-function"
 net80211/ieee80211_superg.c	optional wlan ieee80211_support_superg
 net80211/ieee80211_tdma.c	optional wlan ieee80211_support_tdma
 net80211/ieee80211_wds.c	optional wlan

Modified: head/sys/modules/wlan/Makefile
==============================================================================
--- head/sys/modules/wlan/Makefile	Fri Feb 14 19:43:00 2014	(r261898)
+++ head/sys/modules/wlan/Makefile	Fri Feb 14 20:11:06 2014	(r261899)
@@ -32,6 +32,9 @@ opt_ddb.h:
 
 .include <bsd.kmod.mk>
 
+CWARNFLAGS.ieee80211_adhoc.c=	-Wno-unused-function
 CWARNFLAGS.ieee80211_crypto.c=	-Wno-unused-function
+CWARNFLAGS.ieee80211_hostap.c=	-Wno-unused-function
 CWARNFLAGS.ieee80211_mesh.c=	-Wno-unused-function
+CWARNFLAGS.ieee80211_sta.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?201402142011.s1EKB6ST011933>