diff options
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/syslogd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 8f9d75cc6..3a8e519fe 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -150,7 +150,7 @@ static inline void sem_down(int semid) | |||
150 | } | 150 | } |
151 | 151 | ||
152 | 152 | ||
153 | void ipcsyslog_cleanup(void) | 153 | static void ipcsyslog_cleanup(void) |
154 | { | 154 | { |
155 | printf("Exiting Syslogd!\n"); | 155 | printf("Exiting Syslogd!\n"); |
156 | if (shmid != -1) { | 156 | if (shmid != -1) { |
@@ -165,7 +165,7 @@ void ipcsyslog_cleanup(void) | |||
165 | } | 165 | } |
166 | } | 166 | } |
167 | 167 | ||
168 | void ipcsyslog_init(void) | 168 | static void ipcsyslog_init(void) |
169 | { | 169 | { |
170 | if (buf == NULL) { | 170 | if (buf == NULL) { |
171 | if ((shmid = shmget(KEY_ID, shm_size, IPC_CREAT | 1023)) == -1) { | 171 | if ((shmid = shmget(KEY_ID, shm_size, IPC_CREAT | 1023)) == -1) { |
@@ -195,7 +195,7 @@ void ipcsyslog_init(void) | |||
195 | } | 195 | } |
196 | 196 | ||
197 | /* write message to buffer */ | 197 | /* write message to buffer */ |
198 | void circ_message(const char *msg) | 198 | static void circ_message(const char *msg) |
199 | { | 199 | { |
200 | int l = strlen(msg) + 1; /* count the whole message w/ '\0' included */ | 200 | int l = strlen(msg) + 1; /* count the whole message w/ '\0' included */ |
201 | 201 | ||