From: Andre Noll Date: Thu, 5 Jun 2008 22:29:56 +0000 (+0200) Subject: Make loglevel non-static. X-Git-Tag: v0.1.0~77 X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=commitdiff_plain;h=a88534cd677dcd6cb2847060ec4f39d56e219bf7 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. --- 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) {