Log variables moved to log_manager.h

The log manager variables lm_enabled_log_files_bitmask, log_ses_count
and tls_log_info that earlier were declared separately in every
c-file are now declared in the log_manager.h header.
This commit is contained in:
Johan Wikman
2015-11-04 14:26:53 +02:00
parent 0accf869de
commit 834a88aeda
55 changed files with 10 additions and 262 deletions

View File

@ -44,11 +44,6 @@
#include <log_manager.h>
#include <secrets.h>
/** Defined in log_manager.cc */
extern int lm_enabled_logfiles_bitmask;
extern size_t log_ses_count[];
extern __thread log_info_t tls_log_info;
/* used in the hex2bin function */
#define char_val(X) (X >= '0' && X <= '9' ? X-'0' :\
X >= 'A' && X <= 'Z' ? X-'A'+10 :\