summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-02-17 20:19:34 +0000
committerdim <dim@FreeBSD.org>2014-02-17 20:19:34 +0000
commit7e788192f1426f9183f3c8452522efb2f44ff031 (patch)
tree1760f4ed4e8a851dd540e82b0b73f6256a27edc9 /sys/modules
parent3a850f3c1047e80ff8f260f5a9dea5e7041ff079 (diff)
downloadFreeBSD-src-7e788192f1426f9183f3c8452522efb2f44ff031.zip
FreeBSD-src-7e788192f1426f9183f3c8452522efb2f44ff031.tar.gz
MFC r261899:
Similar to r260026, disable warning about unused functions for ieee80211_adhoc.c, ieee80211_hostap.c and ieee80211_sta.c.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/wlan/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/modules/wlan/Makefile b/sys/modules/wlan/Makefile
index 686369b..4945dd1 100644
--- a/sys/modules/wlan/Makefile
+++ b/sys/modules/wlan/Makefile
@@ -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}}
OpenPOWER on IntegriCloud