Move #define MAXLINE so this compiles without circ buffers.
authorManuel Novoa III <mjn3@codepoet.org>
Tue, 6 Aug 2002 20:12:56 +0000 (20:12 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Tue, 6 Aug 2002 20:12:56 +0000 (20:12 -0000)
sysklogd/syslogd.c

index aac37b1..f0a7f1a 100644 (file)
@@ -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)
 {