Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-08-07 00:12:56 +0400
committerManuel Novoa III <mjn3@codepoet.org>2002-08-07 00:12:56 +0400
commitf8277ca992a1d08e25b3ffa52ffa3220c566b7a9 (patch)
tree89d0798fab77f6acf036f57d02eaee767837883a /sysklogd
parent74b007f7cc1da527ee38be5c60e51d9882c6838a (diff)
Move #define MAXLINE so this compiles without circ buffers.
Diffstat (limited to 'sysklogd')
-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)
{