aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-12-31 17:19:37 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-31 17:19:37 (GMT)
commitfcc61230d1475f5a7b185ad7e086dbefdb9f69b8 (patch)
tree322a45b02eecb4b85722775e97ea5c8e62269dd3 /hostapd
parent7fd15145ffc45782306f4665875833f2e3c06597 (diff)
downloadhostap-fcc61230d1475f5a7b185ad7e086dbefdb9f69b8.zip
hostap-fcc61230d1475f5a7b185ad7e086dbefdb9f69b8.tar.gz
hostap-fcc61230d1475f5a7b185ad7e086dbefdb9f69b8.tar.bz2
Declare wpa_drivers in src/drivers/driver.h
This avoids some warnings from sparse. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/config_file.c3
-rw-r--r--hostapd/main.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index ae05917..fa1a7fb 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -22,9 +22,6 @@
#include "config_file.h"
-extern struct wpa_driver_ops *wpa_drivers[];
-
-
#ifndef CONFIG_NO_VLAN
static int hostapd_config_read_vlan_file(struct hostapd_bss_config *bss,
const char *fname)
diff --git a/hostapd/main.c b/hostapd/main.c
index 4e9fe40..1b798da 100644
--- a/hostapd/main.c
+++ b/hostapd/main.c
@@ -33,8 +33,6 @@ extern int wpa_debug_level;
extern int wpa_debug_show_keys;
extern int wpa_debug_timestamp;
-extern struct wpa_driver_ops *wpa_drivers[];
-
struct hapd_global {
void **drv_priv;