From cbe31dace5fb24304694d399b9eb267fbe752516 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 20 Feb 2001 06:14:08 +0000 Subject: 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 --- util-linux/dmesg.c | 2 +- util-linux/fbset.c | 2 +- util-linux/fdflush.c | 2 +- util-linux/fsck_minix.c | 2 +- util-linux/mkfs_minix.c | 2 +- util-linux/mkswap.c | 2 +- util-linux/more.c | 2 +- util-linux/mount.c | 2 +- util-linux/nfsmount.c | 16 ++++++++-------- util-linux/pivot_root.c | 2 +- util-linux/rdate.c | 6 +++--- util-linux/swaponoff.c | 2 +- util-linux/umount.c | 2 +- 13 files changed, 22 insertions(+), 22 deletions(-) (limited to 'util-linux') diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index 47f9f44..2c85ed3 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -15,7 +15,6 @@ * Support, replaced getopt, added some gotos for redundant stuff. */ -#include "busybox.h" #include #include #include @@ -33,6 +32,7 @@ static inline _syscall3(int, klogctl, int, type, char *, b, int, len); #else # include #endif +#include "busybox.h" int dmesg_main(int argc, char **argv) { diff --git a/util-linux/fbset.c b/util-linux/fbset.c index 9acabbe..72284a6 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c @@ -24,7 +24,6 @@ * Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) */ -#include "busybox.h" #include #include #include @@ -33,6 +32,7 @@ #include #include #include +#include "busybox.h" #define DEFAULTFBDEV "/dev/fb0" #define DEFAULTFBMODE "/etc/fb.modes" diff --git a/util-linux/fdflush.c b/util-linux/fdflush.c index f10ccea..28f5cb6 100644 --- a/util-linux/fdflush.c +++ b/util-linux/fdflush.c @@ -21,11 +21,11 @@ * */ -#include "busybox.h" #include #include #include #include +#include "busybox.h" /* From */ #define FDFLUSH _IO(2,0x4b) diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index 2b4c651..9a53a70 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c @@ -86,7 +86,6 @@ * enforced (but it's not much fun on a character device :-). */ -#include "busybox.h" #include #include #include @@ -97,6 +96,7 @@ #include #include #include +#include "busybox.h" typedef unsigned char u8; diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 6b4a3e2..b666338 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c @@ -62,7 +62,6 @@ * removed getopt based parser and added a hand rolled one. */ -#include "busybox.h" #include #include #include @@ -75,6 +74,7 @@ #include #include #include +#include "busybox.h" typedef unsigned char u8; diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index 48637e8..b5153f6 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c @@ -35,7 +35,6 @@ * */ -#include "busybox.h" #include #include #include @@ -45,6 +44,7 @@ #include #include /* for PAGE_SIZE and PAGE_SHIFT */ /* we also get PAGE_SIZE via getpagesize() */ +#include "busybox.h" #ifndef _IO /* pre-1.3.45 */ diff --git a/util-linux/more.c b/util-linux/more.c index c4c74fe..298e1cf 100644 --- a/util-linux/more.c +++ b/util-linux/more.c @@ -25,12 +25,12 @@ * */ -#include "busybox.h" #include #include #include #include #include +#include "busybox.h" #define BB_DECLARE_EXTERN #define bb_need_help #include "messages.c" diff --git a/util-linux/mount.c b/util-linux/mount.c index 2f5bba5..7b0bf3e 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -43,7 +43,6 @@ * */ -#include "busybox.h" #include #include #include @@ -54,6 +53,7 @@ #if defined BB_FEATURE_USE_DEVPS_PATCH #include /* For Erik's nifty devmtab device driver */ #endif +#include "busybox.h" enum { MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */ diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c index ae44f32..aee4969 100644 --- a/util-linux/nfsmount.c +++ b/util-linux/nfsmount.c @@ -33,25 +33,25 @@ * nfsmount.c,v 1.1.1.1 1993/11/18 08:40:51 jrs Exp */ -#include "busybox.h" -#undef FALSE -#undef TRUE #include #include #include #include #include -#include -#include -#include #include #include #include #include #include - -#include "nfsmount.h" +#include +#include "busybox.h" +#undef TRUE +#undef FALSE +#include +#include +#include #include /* For the kernels nfs stuff */ +#include "nfsmount.h" #ifndef NFS_FHSIZE static const int NFS_FHSIZE = 32; diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c index e007101..d7b80d7 100644 --- a/util-linux/pivot_root.c +++ b/util-linux/pivot_root.c @@ -4,11 +4,11 @@ * * busyboxed by Evin Robertson */ -#include "busybox.h" #include #include #include #include +#include "busybox.h" #ifndef __NR_pivot_root #error Sorry, but this kernel does not support the pivot_root syscall diff --git a/util-linux/rdate.c b/util-linux/rdate.c index 38a7689..a3ea3a8 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c @@ -21,9 +21,6 @@ * */ -#include "busybox.h" -#define BB_DECLARE_EXTERN -#include "messages.c" #include #include #include @@ -33,6 +30,9 @@ #include #include #include +#include "busybox.h" +#define BB_DECLARE_EXTERN +#include "messages.c" static const int RFC_868_BIAS = 2208988800UL; diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 8dda097..0613fa1 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -22,7 +22,6 @@ * */ -#include "busybox.h" #include #include #include @@ -31,6 +30,7 @@ #include #include #include +#include "busybox.h" _syscall2(int, swapon, const char *, path, int, flags); _syscall1(int, swapoff, const char *, path); diff --git a/util-linux/umount.c b/util-linux/umount.c index c160ec2..2868a1b 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c @@ -22,12 +22,12 @@ * */ -#include "busybox.h" #include #include #include #include #include +#include "busybox.h" static const int MNT_FORCE = 1; -- cgit v1.1