summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 8f9d75c..3a8e519 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -150,7 +150,7 @@ static inline void sem_down(int semid)
}
-void ipcsyslog_cleanup(void)
+static void ipcsyslog_cleanup(void)
{
printf("Exiting Syslogd!\n");
if (shmid != -1) {
@@ -165,7 +165,7 @@ void ipcsyslog_cleanup(void)
}
}
-void ipcsyslog_init(void)
+static void ipcsyslog_init(void)
{
if (buf == NULL) {
if ((shmid = shmget(KEY_ID, shm_size, IPC_CREAT | 1023)) == -1) {
@@ -195,7 +195,7 @@ void ipcsyslog_init(void)
}
/* write message to buffer */
-void circ_message(const char *msg)
+static void circ_message(const char *msg)
{
int l = strlen(msg) + 1; /* count the whole message w/ '\0' included */