diff options
author | dim <dim@FreeBSD.org> | 2014-01-04 18:24:45 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-01-04 18:24:45 +0000 |
commit | d1cdc4fc9a33ad6e7223b1c04dba3d8e375b5aa3 (patch) | |
tree | d7ecc57081755298fc0c28182a49f871c6af0388 | |
parent | 83ddc49dd1f7e1bf2b7778b9cf3cd547d5eb5fe0 (diff) | |
download | FreeBSD-src-d1cdc4fc9a33ad6e7223b1c04dba3d8e375b5aa3.zip FreeBSD-src-d1cdc4fc9a33ad6e7223b1c04dba3d8e375b5aa3.tar.gz |
MFC r260026:
Disable warning about unused functions for ieee80211_crypto.c and
ieee80211_mesh.c for now.
-rw-r--r-- | sys/conf/files | 6 | ||||
-rw-r--r-- | sys/modules/wlan/Makefile | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files index 0048d9d..82731e5 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -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 diff --git a/sys/modules/wlan/Makefile b/sys/modules/wlan/Makefile index 30aa745..686369b 100644 --- a/sys/modules/wlan/Makefile +++ b/sys/modules/wlan/Makefile @@ -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}} |