aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-04-25 17:10:30 +0000
committerMark Whitley <markw@lineo.com>2001-04-25 17:10:30 +0000
commit4b541a8817425457a97a7033d3a0e0495d9948aa (patch)
tree0c2835e3607a1276d4c5d76c5c2ccb5e9950e4af
parent67d7fe66e753aa1e96639a10a0a9a781912c74ca (diff)
downloadbusybox-4b541a8817425457a97a7033d3a0e0495d9948aa.tar.gz
Moved some #ifdefs down below #include "busybox.h" where they belong.
-rw-r--r--lash.c4
-rw-r--r--mount.c4
-rw-r--r--sh.c4
-rw-r--r--shell/lash.c4
-rw-r--r--util-linux/mount.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/lash.c b/lash.c
index 892237b08..1d128355c 100644
--- a/lash.c
+++ b/lash.c
@@ -64,6 +64,8 @@
#include <sys/wait.h>
#include <unistd.h>
#include <getopt.h>
+#include "busybox.h"
+#include "cmdedit.h"
#ifdef BB_LOCALE_SUPPORT
#include <locale.h>
@@ -79,8 +81,6 @@
#include <glob.h>
#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 <stdio.h>
#include <mntent.h>
#include <ctype.h>
+#include "busybox.h"
#if defined BB_FEATURE_USE_DEVPS_PATCH
-#include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
+# include <linux/devmtab.h> /* 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 <sys/wait.h>
#include <unistd.h>
#include <getopt.h>
+#include "busybox.h"
+#include "cmdedit.h"
#ifdef BB_LOCALE_SUPPORT
#include <locale.h>
@@ -79,8 +81,6 @@
#include <glob.h>
#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 <sys/wait.h>
#include <unistd.h>
#include <getopt.h>
+#include "busybox.h"
+#include "cmdedit.h"
#ifdef BB_LOCALE_SUPPORT
#include <locale.h>
@@ -79,8 +81,6 @@
#include <glob.h>
#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 <stdio.h>
#include <mntent.h>
#include <ctype.h>
+#include "busybox.h"
#if defined BB_FEATURE_USE_DEVPS_PATCH
-#include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
+# include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
#endif
-#include "busybox.h"
enum {
MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */