diff options
author | Jouni Malinen <j@w1.fi> | 2013-12-31 17:29:52 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2013-12-31 17:29:52 (GMT) |
commit | 0187c41d88b372e90eff37e3c29b78423e3f170e (patch) | |
tree | f1da2c16e7ec6acfeb183f3540ad68e6d4388115 /tests | |
parent | fcc61230d1475f5a7b185ad7e086dbefdb9f69b8 (diff) | |
download | hostap-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 'tests')
-rw-r--r-- | tests/test-asn1.c | 2 | ||||
-rw-r--r-- | tests/test-https.c | 3 | ||||
-rw-r--r-- | tests/test-milenage.c | 3 | ||||
-rw-r--r-- | tests/test-x509.c | 2 | ||||
-rw-r--r-- | tests/test-x509v3.c | 2 |
5 files changed, 0 insertions, 12 deletions
diff --git a/tests/test-asn1.c b/tests/test-asn1.c index 7b6f7be..c6957fd 100644 --- a/tests/test-asn1.c +++ b/tests/test-asn1.c @@ -11,8 +11,6 @@ #include "common.h" #include "tls/asn1.h" -extern int wpa_debug_level; - static const char * asn1_class_str(int class) { diff --git a/tests/test-https.c b/tests/test-https.c index 2f41500..a72e56f 100644 --- a/tests/test-https.c +++ b/tests/test-https.c @@ -12,9 +12,6 @@ #include "common.h" #include "crypto/tls.h" -extern int wpa_debug_level; -extern int wpa_debug_show_keys; - static void https_tls_event_cb(void *ctx, enum tls_event ev, union tls_event_data *data) diff --git a/tests/test-milenage.c b/tests/test-milenage.c index 9d2f7f0..7c4be09 100644 --- a/tests/test-milenage.c +++ b/tests/test-milenage.c @@ -5,9 +5,6 @@ #include "crypto/milenage.h" -extern int wpa_debug_level; - - /** * milenage_opc - Determine OPc from OP and K * @op: OP = 128-bit operator variant algorithm configuration field diff --git a/tests/test-x509.c b/tests/test-x509.c index e92ea61..194f229 100644 --- a/tests/test-x509.c +++ b/tests/test-x509.c @@ -11,8 +11,6 @@ #include "common.h" #include "tls/x509v3.h" -extern int wpa_debug_level; - int main(int argc, char *argv[]) { diff --git a/tests/test-x509v3.c b/tests/test-x509v3.c index 1290b5c..bfb0698 100644 --- a/tests/test-x509v3.c +++ b/tests/test-x509v3.c @@ -12,8 +12,6 @@ #include "tls/asn1.h" #include "tls/x509v3.h" -extern int wpa_debug_level; - int main(int argc, char *argv[]) { |