From f8277ca992a1d08e25b3ffa52ffa3220c566b7a9 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Tue, 6 Aug 2002 20:12:56 +0000 Subject: [PATCH] Move #define MAXLINE so this compiles without circ buffers. --- sysklogd/syslogd.c | 5 ++--- 1 file 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) { -- 2.25.1