aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysklogd/syslogd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index aac37b11e..f0a7f1a84 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -129,9 +129,6 @@ static inline void sem_down(int semid)
perror_msg_and_die("semop[SMwdn]");
}
-#define MAXLINE 1024 /* maximum line length */
-
-
void ipcsyslog_cleanup(void){
printf("Exiting Syslogd!\n");
if (shmid != -1)
@@ -475,6 +472,8 @@ static void init_RemoteLog (void){
}
#endif
+#define MAXLINE 1024 /* maximum line length */
+
static void doSyslogd (void) __attribute__ ((noreturn));
static void doSyslogd (void)
{