diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-08-06 20:12:56 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-08-06 20:12:56 +0000 |
commit | f8277ca992a1d08e25b3ffa52ffa3220c566b7a9 (patch) | |
tree | 89d0798fab77f6acf036f57d02eaee767837883a /sysklogd | |
parent | 74b007f7cc1da527ee38be5c60e51d9882c6838a (diff) | |
download | busybox-w32-f8277ca992a1d08e25b3ffa52ffa3220c566b7a9.tar.gz busybox-w32-f8277ca992a1d08e25b3ffa52ffa3220c566b7a9.tar.bz2 busybox-w32-f8277ca992a1d08e25b3ffa52ffa3220c566b7a9.zip |
Move #define MAXLINE so this compiles without circ buffers.
Diffstat (limited to 'sysklogd')
-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 aac37b11e..f0a7f1a84 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -129,9 +129,6 @@ static inline void sem_down(int semid) | |||
129 | perror_msg_and_die("semop[SMwdn]"); | 129 | perror_msg_and_die("semop[SMwdn]"); |
130 | } | 130 | } |
131 | 131 | ||
132 | #define MAXLINE 1024 /* maximum line length */ | ||
133 | |||
134 | |||
135 | void ipcsyslog_cleanup(void){ | 132 | void ipcsyslog_cleanup(void){ |
136 | printf("Exiting Syslogd!\n"); | 133 | printf("Exiting Syslogd!\n"); |
137 | if (shmid != -1) | 134 | if (shmid != -1) |
@@ -475,6 +472,8 @@ static void init_RemoteLog (void){ | |||
475 | } | 472 | } |
476 | #endif | 473 | #endif |
477 | 474 | ||
475 | #define MAXLINE 1024 /* maximum line length */ | ||
476 | |||
478 | static void doSyslogd (void) __attribute__ ((noreturn)); | 477 | static void doSyslogd (void) __attribute__ ((noreturn)); |
479 | static void doSyslogd (void) | 478 | static void doSyslogd (void) |
480 | { | 479 | { |