From 4b541a8817425457a97a7033d3a0e0495d9948aa Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Wed, 25 Apr 2001 17:10:30 +0000 Subject: Moved some #ifdefs down below #include "busybox.h" where they belong. --- lash.c | 4 ++-- mount.c | 4 ++-- sh.c | 4 ++-- shell/lash.c | 4 ++-- util-linux/mount.c | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lash.c b/lash.c index 892237b..1d12835 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 90c1cc7..fa298d9 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 892237b..1d12835 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 892237b..1d12835 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 90c1cc7..fa298d9 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 */ -- cgit v1.1