diff options
author | Manuel Novoa III | 2002-08-06 20:12:56 +0000 |
---|---|---|
committer | Manuel Novoa III | 2002-08-06 20:12:56 +0000 |
commit | f8277ca992a1d08e25b3ffa52ffa3220c566b7a9 (patch) | |
tree | 89d0798fab77f6acf036f57d02eaee767837883a /sysklogd/syslogd.c | |
parent | 74b007f7cc1da527ee38be5c60e51d9882c6838a (diff) | |
download | busybox-f8277ca992a1d08e25b3ffa52ffa3220c566b7a9.zip busybox-f8277ca992a1d08e25b3ffa52ffa3220c566b7a9.tar.gz |
Move #define MAXLINE so this compiles without circ buffers.
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r-- | sysklogd/syslogd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index aac37b1..f0a7f1a 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) { |