commit 95c9b4b2557824c53a0f20ebdf758c77d0aac5f8
parent 5d1e46fefa12eae9fd7e6321b0ab1c8f4a304fa3
Author: sin <sin@2f30.org>
Date: Thu, 4 Dec 2014 11:45:44 +0000
Staticise functions in logger(1)
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README b/README
@@ -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
@@ -9,7 +9,7 @@
#include "util.h"
-int
+static int
decodefac(char *fac)
{
CODE *c;
@@ -23,7 +23,7 @@ decodefac(char *fac)
return facility & LOG_FACMASK;
}
-int
+static int
decodelev(char *lev)
{
CODE *c;
@@ -37,7 +37,7 @@ decodelev(char *lev)
return level & LOG_PRIMASK;
}
-int
+static int
decodepri(char *pri)
{
char *p;