Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2014 18:24:46 +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-10@freebsd.org
Subject:   svn commit: r260273 - in stable: 10/sys/conf 10/sys/modules/wlan 9/sys/conf 9/sys/modules/wlan
Message-ID:  <201401041824.s04IOkVC039376@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/10/sys/conf/files
  stable/10/sys/modules/wlan/Makefile
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/9/sys/conf/files
  stable/9/sys/modules/wlan/Makefile
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/10/sys/conf/files
==============================================================================
--- stable/10/sys/conf/files	Sat Jan  4 18:19:53 2014	(r260272)
+++ stable/10/sys/conf/files	Sat Jan  4 18:24:45 2014	(r260273)
@@ -3110,7 +3110,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
@@ -3123,7 +3124,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/10/sys/modules/wlan/Makefile
==============================================================================
--- stable/10/sys/modules/wlan/Makefile	Sat Jan  4 18:19:53 2014	(r260272)
+++ stable/10/sys/modules/wlan/Makefile	Sat Jan  4 18:24:45 2014	(r260273)
@@ -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?201401041824.s04IOkVC039376>