MFC r260026:

Disable warning about unused functions for ieee80211_crypto.c and
ieee80211_mesh.c for now.
This commit is contained in:
dim 2014-01-04 18:24:45 +00:00
parent 83ddc49dd1
commit d1cdc4fc9a
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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}}