diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-02-20 06:14:08 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-02-20 06:14:08 +0000 |
commit | b59ae6c5acd924f88fc9cb4285ed283f27c65194 (patch) | |
tree | 49d1bb722d95eb1aded6b5d354ac86e56c481c10 /sysklogd | |
parent | 59d90b8337e20463074c14f5215e7f2fdeb800ad (diff) | |
download | busybox-w32-b59ae6c5acd924f88fc9cb4285ed283f27c65194.tar.gz busybox-w32-b59ae6c5acd924f88fc9cb4285ed283f27c65194.tar.bz2 busybox-w32-b59ae6c5acd924f88fc9cb4285ed283f27c65194.zip |
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
git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/logger.c | 3 | ||||
-rw-r--r-- | sysklogd/syslogd.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 352bde158..1218d8d2e 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c | |||
@@ -21,7 +21,6 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include "busybox.h" | ||
25 | #include <stdio.h> | 24 | #include <stdio.h> |
26 | #include <unistd.h> | 25 | #include <unistd.h> |
27 | #include <sys/types.h> | 26 | #include <sys/types.h> |
@@ -30,6 +29,7 @@ | |||
30 | #include <string.h> | 29 | #include <string.h> |
31 | #include <stdlib.h> | 30 | #include <stdlib.h> |
32 | 31 | ||
32 | #include "busybox.h" | ||
33 | #if !defined BB_SYSLOGD | 33 | #if !defined BB_SYSLOGD |
34 | 34 | ||
35 | #define SYSLOG_NAMES | 35 | #define SYSLOG_NAMES |
@@ -40,6 +40,7 @@ | |||
40 | * structures. Argh.... bad libc, bad, bad... | 40 | * structures. Argh.... bad libc, bad, bad... |
41 | */ | 41 | */ |
42 | #include <sys/syslog.h> | 42 | #include <sys/syslog.h> |
43 | |||
43 | typedef struct _code { | 44 | typedef struct _code { |
44 | char *c_name; | 45 | char *c_name; |
45 | int c_val; | 46 | int c_val; |
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 872728b5b..8049fc5d1 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -23,7 +23,6 @@ | |||
23 | * | 23 | * |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include "busybox.h" | ||
27 | #include <stdio.h> | 26 | #include <stdio.h> |
28 | #include <stdlib.h> | 27 | #include <stdlib.h> |
29 | #include <ctype.h> | 28 | #include <ctype.h> |
@@ -56,6 +55,7 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len); | |||
56 | #else | 55 | #else |
57 | # include <sys/klog.h> | 56 | # include <sys/klog.h> |
58 | #endif | 57 | #endif |
58 | #include "busybox.h" | ||
59 | 59 | ||
60 | 60 | ||
61 | 61 | ||