diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-20 06:14:08 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-20 06:14:08 +0000 |
commit | cbe31dace5fb24304694d399b9eb267fbe752516 (patch) | |
tree | 49d1bb722d95eb1aded6b5d354ac86e56c481c10 /miscutils | |
parent | 94456f598417f2f61edb97b5ab67ddfdc408ad10 (diff) | |
download | busybox-w32-cbe31dace5fb24304694d399b9eb267fbe752516.tar.gz busybox-w32-cbe31dace5fb24304694d399b9eb267fbe752516.tar.bz2 busybox-w32-cbe31dace5fb24304694d399b9eb267fbe752516.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
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/dc.c | 2 | ||||
-rw-r--r-- | miscutils/dutmp.c | 8 | ||||
-rw-r--r-- | miscutils/makedevs.c | 2 | ||||
-rw-r--r-- | miscutils/mktemp.c | 2 | ||||
-rw-r--r-- | miscutils/mt.c | 2 | ||||
-rw-r--r-- | miscutils/readlink.c | 2 | ||||
-rw-r--r-- | miscutils/update.c | 2 | ||||
-rw-r--r-- | miscutils/watchdog.c | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c index 1e34574ed..a422139b1 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | #include "busybox.h" | ||
3 | #include <ctype.h> | 2 | #include <ctype.h> |
4 | #include <stdio.h> | 3 | #include <stdio.h> |
5 | #include <stdlib.h> | 4 | #include <stdlib.h> |
6 | #include <unistd.h> | 5 | #include <unistd.h> |
7 | #include <math.h> | 6 | #include <math.h> |
7 | #include "busybox.h" | ||
8 | 8 | ||
9 | /* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */ | 9 | /* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */ |
10 | 10 | ||
diff --git a/miscutils/dutmp.c b/miscutils/dutmp.c index 2e6b3c056..a75a6e392 100644 --- a/miscutils/dutmp.c +++ b/miscutils/dutmp.c | |||
@@ -12,17 +12,17 @@ | |||
12 | * Erik Andersen <andersen@lineo.com> | 12 | * Erik Andersen <andersen@lineo.com> |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "busybox.h" | ||
16 | #include <sys/types.h> | 15 | #include <sys/types.h> |
17 | #include <fcntl.h> | 16 | #include <fcntl.h> |
18 | 17 | ||
19 | #include <errno.h> | 18 | #include <errno.h> |
20 | #define BB_DECLARE_EXTERN | ||
21 | #define bb_need_io_error | ||
22 | #include "messages.c" | ||
23 | #include <utmp.h> | 19 | #include <utmp.h> |
24 | #include <stdlib.h> | 20 | #include <stdlib.h> |
25 | #include <unistd.h> | 21 | #include <unistd.h> |
22 | #include "busybox.h" | ||
23 | #define BB_DECLARE_EXTERN | ||
24 | #define bb_need_io_error | ||
25 | #include "messages.c" | ||
26 | 26 | ||
27 | extern int dutmp_main(int argc, char **argv) | 27 | extern int dutmp_main(int argc, char **argv) |
28 | { | 28 | { |
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index eed3968c8..b8c6dd1d8 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
@@ -7,13 +7,13 @@ | |||
7 | * known bugs: can't deal with alpha ranges | 7 | * known bugs: can't deal with alpha ranges |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include "busybox.h" | ||
11 | #include <stdio.h> | 10 | #include <stdio.h> |
12 | #include <stdlib.h> | 11 | #include <stdlib.h> |
13 | #include <string.h> | 12 | #include <string.h> |
14 | #include <fcntl.h> | 13 | #include <fcntl.h> |
15 | #include <unistd.h> | 14 | #include <unistd.h> |
16 | #include <sys/types.h> | 15 | #include <sys/types.h> |
16 | #include "busybox.h" | ||
17 | 17 | ||
18 | int makedevs_main(int argc, char **argv) | 18 | int makedevs_main(int argc, char **argv) |
19 | { | 19 | { |
diff --git a/miscutils/mktemp.c b/miscutils/mktemp.c index b3522026e..31ab9e228 100644 --- a/miscutils/mktemp.c +++ b/miscutils/mktemp.c | |||
@@ -22,11 +22,11 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "busybox.h" | ||
26 | #include <stdio.h> | 25 | #include <stdio.h> |
27 | #include <errno.h> | 26 | #include <errno.h> |
28 | #include <unistd.h> | 27 | #include <unistd.h> |
29 | #include <stdlib.h> | 28 | #include <stdlib.h> |
29 | #include "busybox.h" | ||
30 | 30 | ||
31 | extern int mktemp_main(int argc, char **argv) | 31 | extern int mktemp_main(int argc, char **argv) |
32 | { | 32 | { |
diff --git a/miscutils/mt.c b/miscutils/mt.c index eb93cb234..350d3ae5a 100644 --- a/miscutils/mt.c +++ b/miscutils/mt.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | #include "busybox.h" | ||
3 | #include <stdio.h> | 2 | #include <stdio.h> |
4 | #include <stdlib.h> | 3 | #include <stdlib.h> |
5 | #include <sys/mtio.h> | 4 | #include <sys/mtio.h> |
6 | #include <sys/fcntl.h> | 5 | #include <sys/fcntl.h> |
6 | #include "busybox.h" | ||
7 | 7 | ||
8 | struct mt_opcodes { | 8 | struct mt_opcodes { |
9 | char *name; | 9 | char *name; |
diff --git a/miscutils/readlink.c b/miscutils/readlink.c index c82f64027..74196e11d 100644 --- a/miscutils/readlink.c +++ b/miscutils/readlink.c | |||
@@ -22,10 +22,10 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "busybox.h" | ||
26 | #include <errno.h> | 25 | #include <errno.h> |
27 | #include <unistd.h> | 26 | #include <unistd.h> |
28 | #include <stdlib.h> | 27 | #include <stdlib.h> |
28 | #include "busybox.h" | ||
29 | 29 | ||
30 | int readlink_main(int argc, char **argv) | 30 | int readlink_main(int argc, char **argv) |
31 | { | 31 | { |
diff --git a/miscutils/update.c b/miscutils/update.c index 2cf4a98b2..b282b9e18 100644 --- a/miscutils/update.c +++ b/miscutils/update.c | |||
@@ -28,7 +28,6 @@ | |||
28 | * earlier) kernel. 2.2.x and higher flush filesystem buffers automatically. | 28 | * earlier) kernel. 2.2.x and higher flush filesystem buffers automatically. |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include "busybox.h" | ||
32 | #include <sys/param.h> | 31 | #include <sys/param.h> |
33 | #include <sys/syslog.h> | 32 | #include <sys/syslog.h> |
34 | #include <unistd.h> /* for getopt() */ | 33 | #include <unistd.h> /* for getopt() */ |
@@ -42,6 +41,7 @@ | |||
42 | #include <linux/unistd.h> | 41 | #include <linux/unistd.h> |
43 | static _syscall2(int, bdflush, int, func, int, data); | 42 | static _syscall2(int, bdflush, int, func, int, data); |
44 | #endif /* __GLIBC__ */ | 43 | #endif /* __GLIBC__ */ |
44 | #include "busybox.h" | ||
45 | 45 | ||
46 | static unsigned int sync_duration = 30; | 46 | static unsigned int sync_duration = 30; |
47 | static unsigned int flush_duration = 5; | 47 | static unsigned int flush_duration = 5; |
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index 65d0fc35f..5b5fd6953 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
@@ -20,11 +20,11 @@ | |||
20 | * | 20 | * |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include "busybox.h" | ||
24 | #include <stdio.h> | 23 | #include <stdio.h> |
25 | #include <fcntl.h> | 24 | #include <fcntl.h> |
26 | #include <unistd.h> | 25 | #include <unistd.h> |
27 | #include <stdlib.h> | 26 | #include <stdlib.h> |
27 | #include "busybox.h" | ||
28 | 28 | ||
29 | extern int watchdog_main(int argc, char **argv) | 29 | extern int watchdog_main(int argc, char **argv) |
30 | { | 30 | { |