Staticise functions in logger(1)
This commit is contained in:
parent
5d1e46fefa
commit
95c9b4b255
2
README
2
README
|
@ -36,7 +36,7 @@ hostname
|
|||
kill yes none
|
||||
link
|
||||
ln
|
||||
logger yes
|
||||
logger yes
|
||||
logname
|
||||
ls
|
||||
md5sum
|
||||
|
|
6
logger.c
6
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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user