diff --git a/lib/log.c b/lib/log.c index 608a4fdc..aa27a58f 100644 --- a/lib/log.c +++ b/lib/log.c @@ -32,6 +32,7 @@ #include "log.h" static unsigned char loglvl = L_NUL; +static const char *logtxt[] = {"INF","NOT","WAR","ERR","DBG","EBH","EBS","NET"}; static int logtxtlen = sizeof(logtxt) / sizeof(char*); static FILE *logfp = NULL; diff --git a/lib/log.h b/lib/log.h index 397882d7..d70d3515 100644 --- a/lib/log.h +++ b/lib/log.h @@ -33,7 +33,6 @@ #define L_NET 0x80 #define LOGTXT "INF, NOT, WAR, ERR, DBG, EBH, EBS, NET, ALL" -static const char *logtxt[] = {"INF","NOT","WAR","ERR","DBG","EBH","EBS","NET"}; #define err_if(exp) \ if (exp) { log_print(L_ERR, "%s: %d: %s: Error %s", \