[hackers] [sbase] Staticise functions in logger(1) || sin

From: <git_AT_suckless.org>
Date: Thu, 04 Dec 2014 12:46:15 +0100

commit 95c9b4b2557824c53a0f20ebdf758c77d0aac5f8
Author: sin <sin_AT_2f30.org>
Date: Thu Dec 4 11:45:44 2014 +0000

    Staticise functions in logger(1)

diff --git a/README b/README
index d2728c1..07340d8 100644
--- a/README
+++ b/README
_AT_@ -36,7 +36,7 @@ hostname
 kill yes none
 link
 ln
-logger yes
+logger yes
 logname
 ls
 md5sum
diff --git a/logger.c b/logger.c
index b276837..94e1d89 100644
--- a/logger.c
+++ b/logger.c
_AT_@ -9,7 +9,7 @@
 
 #include "util.h"
 
-int
+static int
 decodefac(char *fac)
 {
         CODE *c;
_AT_@ -23,7 +23,7 @@ decodefac(char *fac)
         return facility & LOG_FACMASK;
 }
 
-int
+static int
 decodelev(char *lev)
 {
         CODE *c;
_AT_@ -37,7 +37,7 @@ decodelev(char *lev)
         return level & LOG_PRIMASK;
 }
 
-int
+static int
 decodepri(char *pri)
 {
         char *p;
Received on Thu Dec 04 2014 - 12:46:15 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 04 2014 - 12:48:11 CET