aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-06-23 10:28:54 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-23 10:28:54 (GMT)
commit0e672b89e795ffb613faf17f22e78e47b268e2c5 (patch)
tree1c30e1de66fd6aab5a40b8a8dd65622da2ac3a13 /src
parent6527b52ead4e552afa3037ca94ae2ab0291a2239 (diff)
downloadhostap-0e672b89e795ffb613faf17f22e78e47b268e2c5.zip
hostap-0e672b89e795ffb613faf17f22e78e47b268e2c5.tar.gz
hostap-0e672b89e795ffb613faf17f22e78e47b268e2c5.tar.bz2
trace: Define externs in a header file
This gets rid of some unnecessary strace warnings from test builds. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/utils/os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/os.h b/src/utils/os.h
index 9e496fb..e8f0b79 100644
--- a/src/utils/os.h
+++ b/src/utils/os.h
@@ -657,6 +657,10 @@ int os_exec(const char *program, const char *arg, int wait_completion);
#if defined(WPA_TRACE_BFD) && defined(CONFIG_TESTING_OPTIONS)
#define TEST_FAIL() testing_test_fail()
int testing_test_fail(void);
+extern char wpa_trace_fail_func[256];
+extern unsigned int wpa_trace_fail_after;
+extern char wpa_trace_test_fail_func[256];
+extern unsigned int wpa_trace_test_fail_after;
#else
#define TEST_FAIL() 0
#endif