Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 20:19:35 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r262126 - in stable: 10/sys/conf 10/sys/modules/wlan 9/sys/conf 9/sys/modules/wlan
Message-ID:  <201402172019.s1HKJZ0o031039@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Mon Feb 17 20:19:34 2014
New Revision: 262126
URL: http://svnweb.freebsd.org/changeset/base/262126

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

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	Mon Feb 17 20:08:11 2014	(r262125)
+++ stable/9/sys/conf/files	Mon Feb 17 20:19:34 2014	(r262126)
@@ -2747,7 +2747,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 \
@@ -2759,7 +2760,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
@@ -2779,7 +2781,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: stable/9/sys/modules/wlan/Makefile
==============================================================================
--- stable/9/sys/modules/wlan/Makefile	Mon Feb 17 20:08:11 2014	(r262125)
+++ stable/9/sys/modules/wlan/Makefile	Mon Feb 17 20:19:34 2014	(r262126)
@@ -31,6 +31,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?201402172019.s1HKJZ0o031039>