Fix CONFIG_NO_STDOUT_DEBUG=y build

This commit is contained in:
Jouni Malinen 2011-02-10 20:24:06 +02:00 committed by Jouni Malinen
parent f049052b9e
commit 50b16da13f
3 changed files with 15 additions and 3 deletions

View file

@ -23,9 +23,6 @@ static int wpa_debug_syslog = 0;
#endif /* CONFIG_DEBUG_SYSLOG */
#ifdef CONFIG_DEBUG_FILE
static FILE *out_file = NULL;
#endif /* CONFIG_DEBUG_FILE */
int wpa_debug_level = MSG_INFO;
int wpa_debug_show_keys = 0;
int wpa_debug_timestamp = 0;
@ -33,6 +30,11 @@ int wpa_debug_timestamp = 0;
#ifndef CONFIG_NO_STDOUT_DEBUG
#ifdef CONFIG_DEBUG_FILE
static FILE *out_file = NULL;
#endif /* CONFIG_DEBUG_FILE */
void wpa_debug_print_timestamp(void)
{
struct os_time tv;