From: Mark Whitley Date: Wed, 25 Apr 2001 17:10:30 +0000 (-0000) Subject: Moved some #ifdefs down below #include "busybox.h" where they belong. X-Git-Tag: 0_52~297 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b541a8817425457a97a7033d3a0e0495d9948aa;p=oweals%2Fbusybox.git Moved some #ifdefs down below #include "busybox.h" where they belong. --- diff --git a/lash.c b/lash.c index 892237b08..1d128355c 100644 --- a/lash.c +++ b/lash.c @@ -64,6 +64,8 @@ #include #include #include +#include "busybox.h" +#include "cmdedit.h" #ifdef BB_LOCALE_SUPPORT #include @@ -79,8 +81,6 @@ #include #define expand_t glob_t #endif -#include "busybox.h" -#include "cmdedit.h" static const int MAX_READ = 128; /* size of input buffer for `read' builtin */ diff --git a/mount.c b/mount.c index 90c1cc723..fa298d93a 100644 --- a/mount.c +++ b/mount.c @@ -50,10 +50,10 @@ #include #include #include +#include "busybox.h" #if defined BB_FEATURE_USE_DEVPS_PATCH -#include /* For Erik's nifty devmtab device driver */ +# 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/sh.c b/sh.c index 892237b08..1d128355c 100644 --- a/sh.c +++ b/sh.c @@ -64,6 +64,8 @@ #include #include #include +#include "busybox.h" +#include "cmdedit.h" #ifdef BB_LOCALE_SUPPORT #include @@ -79,8 +81,6 @@ #include #define expand_t glob_t #endif -#include "busybox.h" -#include "cmdedit.h" static const int MAX_READ = 128; /* size of input buffer for `read' builtin */ diff --git a/shell/lash.c b/shell/lash.c index 892237b08..1d128355c 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -64,6 +64,8 @@ #include #include #include +#include "busybox.h" +#include "cmdedit.h" #ifdef BB_LOCALE_SUPPORT #include @@ -79,8 +81,6 @@ #include #define expand_t glob_t #endif -#include "busybox.h" -#include "cmdedit.h" static const int MAX_READ = 128; /* size of input buffer for `read' builtin */ diff --git a/util-linux/mount.c b/util-linux/mount.c index 90c1cc723..fa298d93a 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -50,10 +50,10 @@ #include #include #include +#include "busybox.h" #if defined BB_FEATURE_USE_DEVPS_PATCH -#include /* For Erik's nifty devmtab device driver */ +# include /* For Erik's nifty devmtab device driver */ #endif -#include "busybox.h" enum { MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */