]> git.tuebingen.mpg.de Git - osl.git/commitdiff
Make loglevel non-static.
authorAndre Noll <maan@systemlinux.org>
Thu, 5 Jun 2008 22:29:56 +0000 (00:29 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 5 Jun 2008 22:29:56 +0000 (00:29 +0200)
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

diff --git a/osl.c b/osl.c
index f0506a50821f1d095ec543a655022d46ece212bf..6731e954c4673738544c3c7ca6092a779bac80d1 100644 (file)
--- 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)
 {