Move #define MAXLINE so this compiles without circ buffers.
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 @@
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 @@
}
#endif
+#define MAXLINE 1024 /* maximum line length */
+
static void doSyslogd (void) __attribute__ ((noreturn));
static void doSyslogd (void)
{