projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74b007f
)
Move #define MAXLINE so this compiles without circ buffers.
author
Manuel Novoa III
<mjn3@codepoet.org>
Tue, 6 Aug 2002 20:12:56 +0000
(20:12 -0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Tue, 6 Aug 2002 20:12:56 +0000
(20:12 -0000)
sysklogd/syslogd.c
patch
|
blob
|
history
diff --git
a/sysklogd/syslogd.c
b/sysklogd/syslogd.c
index aac37b11ee5d5ba5ea7341964b48a1300d879f74..f0a7f1a843821e47be76148ee4f623edddb65c72 100644
(file)
--- 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)
{