From a88534cd677dcd6cb2847060ec4f39d56e219bf7 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 6 Jun 2008 00:29:56 +0200 Subject: [PATCH] Make loglevel non-static. This way, oslfsck can set it to the value given at the command line to overwrite it. It's not exported though, i.e. it is invisible to users of libosl. --- osl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osl.c b/osl.c index f0506a5..6731e95 100644 --- a/osl.c +++ b/osl.c @@ -44,7 +44,7 @@ __export const char *osl_strerror(int num) return msgstr.str + errmsgidx[num]; } -static int loglevel; +int loglevel; static void __attribute ((constructor)) init_loglevel(void) { -- 2.39.2