From: Manuel Novoa III Date: Tue, 6 Aug 2002 20:12:56 +0000 (-0000) Subject: Move #define MAXLINE so this compiles without circ buffers. X-Git-Tag: 0_60_4~92 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f8277ca992a1d08e25b3ffa52ffa3220c566b7a9;p=oweals%2Fbusybox.git Move #define MAXLINE so this compiles without circ buffers. --- 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) {