summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorEric Andersen2001-02-20 06:14:08 +0000
committerEric Andersen2001-02-20 06:14:08 +0000
commitcbe31dace5fb24304694d399b9eb267fbe752516 (patch)
tree49d1bb722d95eb1aded6b5d354ac86e56c481c10 /sysklogd
parent94456f598417f2f61edb97b5ab67ddfdc408ad10 (diff)
downloadbusybox-cbe31dace5fb24304694d399b9eb267fbe752516.zip
busybox-cbe31dace5fb24304694d399b9eb267fbe752516.tar.gz
It turns out that DODMALLOC was broken when I reorganized busybox.h
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/logger.c3
-rw-r--r--sysklogd/syslogd.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 352bde1..1218d8d 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -21,7 +21,6 @@
*
*/
-#include "busybox.h"
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
@@ -30,6 +29,7 @@
#include <string.h>
#include <stdlib.h>
+#include "busybox.h"
#if !defined BB_SYSLOGD
#define SYSLOG_NAMES
@@ -40,6 +40,7 @@
* structures. Argh.... bad libc, bad, bad...
*/
#include <sys/syslog.h>
+
typedef struct _code {
char *c_name;
int c_val;
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 872728b..8049fc5 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -23,7 +23,6 @@
*
*/
-#include "busybox.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
@@ -56,6 +55,7 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
#else
# include <sys/klog.h>
#endif
+#include "busybox.h"