aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-12-31 17:29:52 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-31 17:29:52 (GMT)
commit0187c41d88b372e90eff37e3c29b78423e3f170e (patch)
treef1da2c16e7ec6acfeb183f3540ad68e6d4388115 /wlantest
parentfcc61230d1475f5a7b185ad7e086dbefdb9f69b8 (diff)
downloadhostap-0187c41d88b372e90eff37e3c29b78423e3f170e.zip
hostap-0187c41d88b372e90eff37e3c29b78423e3f170e.tar.gz
hostap-0187c41d88b372e90eff37e3c29b78423e3f170e.tar.bz2
Declare wpa_debug_* variables in src/utils/wpa_debug.h
These were somewhat more hidden to avoid direct use, but there are now numerous places where these are needed and more justification to make the extern int declarations available from wpa_debug.h. In addition, this avoids some warnings from sparse. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest')
-rw-r--r--wlantest/rx_data.c2
-rw-r--r--wlantest/rx_eapol.c2
-rw-r--r--wlantest/test_vectors.c4
-rw-r--r--wlantest/wlantest.c5
4 files changed, 0 insertions, 13 deletions
diff --git a/wlantest/rx_data.c b/wlantest/rx_data.c
index d23425e..dec5857 100644
--- a/wlantest/rx_data.c
+++ b/wlantest/rx_data.c
@@ -14,8 +14,6 @@
#include "common/ieee802_11_defs.h"
#include "wlantest.h"
-extern int wpa_debug_level;
-
static const char * data_stype(u16 stype)
{
diff --git a/wlantest/rx_eapol.c b/wlantest/rx_eapol.c
index 463e841..5e1ad34 100644
--- a/wlantest/rx_eapol.c
+++ b/wlantest/rx_eapol.c
@@ -19,8 +19,6 @@
#include "rsn_supp/wpa_ie.h"
#include "wlantest.h"
-extern int wpa_debug_level;
-
static int is_zero(const u8 *buf, size_t len)
{
diff --git a/wlantest/test_vectors.c b/wlantest/test_vectors.c
index 2320a7e..0800db7 100644
--- a/wlantest/test_vectors.c
+++ b/wlantest/test_vectors.c
@@ -13,10 +13,6 @@
#include "wlantest.h"
-extern int wpa_debug_level;
-extern int wpa_debug_show_keys;
-
-
static void test_vector_tkip(void)
{
u8 tk[] = {
diff --git a/wlantest/wlantest.c b/wlantest/wlantest.c
index d1b550e..a214141 100644
--- a/wlantest/wlantest.c
+++ b/wlantest/wlantest.c
@@ -13,11 +13,6 @@
#include "wlantest.h"
-extern int wpa_debug_level;
-extern int wpa_debug_show_keys;
-extern int wpa_debug_timestamp;
-
-
static void wlantest_terminate(int sig, void *signal_ctx)
{
eloop_terminate();