aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bgscan.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-06-24 14:27:12 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-24 16:02:58 (GMT)
commit9eece21357b6706ca783635b761350e74a8e8992 (patch)
tree9478e40416a45597a1acc2a84fd9e28019b08ad3 /wpa_supplicant/bgscan.c
parent39ab6a5de2e4c2170cafdfa3f1e5b718929dc58e (diff)
downloadhostap-9eece21357b6706ca783635b761350e74a8e8992.zip
hostap-9eece21357b6706ca783635b761350e74a8e8992.tar.gz
hostap-9eece21357b6706ca783635b761350e74a8e8992.tar.bz2
Move extern declarations for bgscan modules into a header file
This gets rid of number of sparse warnings and also allows the compatibility of the declarations to be verified. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/bgscan.c')
-rw-r--r--wpa_supplicant/bgscan.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/wpa_supplicant/bgscan.c b/wpa_supplicant/bgscan.c
index f74cdbf..798b43c 100644
--- a/wpa_supplicant/bgscan.c
+++ b/wpa_supplicant/bgscan.c
@@ -13,12 +13,6 @@
#include "config_ssid.h"
#include "bgscan.h"
-#ifdef CONFIG_BGSCAN_SIMPLE
-extern const struct bgscan_ops bgscan_simple_ops;
-#endif /* CONFIG_BGSCAN_SIMPLE */
-#ifdef CONFIG_BGSCAN_LEARN
-extern const struct bgscan_ops bgscan_learn_ops;
-#endif /* CONFIG_BGSCAN_LEARN */
static const struct bgscan_ops * bgscan_modules[] = {
#ifdef CONFIG_BGSCAN_SIMPLE