diff options
author | dim <dim@FreeBSD.org> | 2013-12-28 23:12:32 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-28 23:12:32 +0000 |
commit | 9b57cded4c872129b0a2c919b3a2096e49257f27 (patch) | |
tree | 864d4d9c9dbab334e6a6838394bc99b2ccfdcbdb | |
parent | e023c91c02e5a5eb264839012f5f20da96cecacc (diff) | |
download | FreeBSD-src-9b57cded4c872129b0a2c919b3a2096e49257f27.zip FreeBSD-src-9b57cded4c872129b0a2c919b3a2096e49257f27.tar.gz |
Disable warning about unused functions for ar9300_reset.c for now.
MFC after: 3 days
-rw-r--r-- | sys/conf/files | 2 | ||||
-rw-r--r-- | sys/modules/ath/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files index 9f8a6cd..30b2fda 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1042,7 +1042,7 @@ contrib/dev/ath/ath_hal/ar9300/ar9300_recv.c optional ath_hal | ath_ar9300 \ contrib/dev/ath/ath_hal/ar9300/ar9300_recv_ds.c optional ath_hal | ath_ar9300 \ compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal" contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c optional ath_hal | ath_ar9300 \ - compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal ${NO_WSOMETIMES_UNINITIALIZED}" + compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal ${NO_WSOMETIMES_UNINITIALIZED} -Wno-unused-function" contrib/dev/ath/ath_hal/ar9300/ar9300_stub.c optional ath_hal | ath_ar9300 \ compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal" contrib/dev/ath/ath_hal/ar9300/ar9300_stub_funcs.c optional ath_hal | ath_ar9300 \ diff --git a/sys/modules/ath/Makefile b/sys/modules/ath/Makefile index 7198a53..33a1650 100644 --- a/sys/modules/ath/Makefile +++ b/sys/modules/ath/Makefile @@ -166,4 +166,4 @@ CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}} # AR9300 HAL build overrides, as there's still some code to tidy up CWARNFLAGS.ar9300_eeprom.c= ${NO_WCONSTANT_CONVERSION} -CWARNFLAGS.ar9300_reset.c= ${NO_WSOMETIMES_UNINITIALIZED} +CWARNFLAGS.ar9300_reset.c= ${NO_WSOMETIMES_UNINITIALIZED} -Wno-unused-function |