diff options
author | Mark Whitley <markw@lineo.com> | 2001-04-25 17:10:30 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-04-25 17:10:30 +0000 |
commit | 4b541a8817425457a97a7033d3a0e0495d9948aa (patch) | |
tree | 0c2835e3607a1276d4c5d76c5c2ccb5e9950e4af | |
parent | 67d7fe66e753aa1e96639a10a0a9a781912c74ca (diff) | |
download | busybox-w32-4b541a8817425457a97a7033d3a0e0495d9948aa.tar.gz busybox-w32-4b541a8817425457a97a7033d3a0e0495d9948aa.tar.bz2 busybox-w32-4b541a8817425457a97a7033d3a0e0495d9948aa.zip |
Moved some #ifdefs down below #include "busybox.h" where they belong.
-rw-r--r-- | lash.c | 4 | ||||
-rw-r--r-- | mount.c | 4 | ||||
-rw-r--r-- | sh.c | 4 | ||||
-rw-r--r-- | shell/lash.c | 4 | ||||
-rw-r--r-- | util-linux/mount.c | 4 |
5 files changed, 10 insertions, 10 deletions
@@ -64,6 +64,8 @@ | |||
64 | #include <sys/wait.h> | 64 | #include <sys/wait.h> |
65 | #include <unistd.h> | 65 | #include <unistd.h> |
66 | #include <getopt.h> | 66 | #include <getopt.h> |
67 | #include "busybox.h" | ||
68 | #include "cmdedit.h" | ||
67 | 69 | ||
68 | #ifdef BB_LOCALE_SUPPORT | 70 | #ifdef BB_LOCALE_SUPPORT |
69 | #include <locale.h> | 71 | #include <locale.h> |
@@ -79,8 +81,6 @@ | |||
79 | #include <glob.h> | 81 | #include <glob.h> |
80 | #define expand_t glob_t | 82 | #define expand_t glob_t |
81 | #endif | 83 | #endif |
82 | #include "busybox.h" | ||
83 | #include "cmdedit.h" | ||
84 | 84 | ||
85 | 85 | ||
86 | static const int MAX_READ = 128; /* size of input buffer for `read' builtin */ | 86 | static const int MAX_READ = 128; /* size of input buffer for `read' builtin */ |
@@ -50,10 +50,10 @@ | |||
50 | #include <stdio.h> | 50 | #include <stdio.h> |
51 | #include <mntent.h> | 51 | #include <mntent.h> |
52 | #include <ctype.h> | 52 | #include <ctype.h> |
53 | #include "busybox.h" | ||
53 | #if defined BB_FEATURE_USE_DEVPS_PATCH | 54 | #if defined BB_FEATURE_USE_DEVPS_PATCH |
54 | #include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */ | 55 | # include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */ |
55 | #endif | 56 | #endif |
56 | #include "busybox.h" | ||
57 | 57 | ||
58 | enum { | 58 | enum { |
59 | MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */ | 59 | MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */ |
@@ -64,6 +64,8 @@ | |||
64 | #include <sys/wait.h> | 64 | #include <sys/wait.h> |
65 | #include <unistd.h> | 65 | #include <unistd.h> |
66 | #include <getopt.h> | 66 | #include <getopt.h> |
67 | #include "busybox.h" | ||
68 | #include "cmdedit.h" | ||
67 | 69 | ||
68 | #ifdef BB_LOCALE_SUPPORT | 70 | #ifdef BB_LOCALE_SUPPORT |
69 | #include <locale.h> | 71 | #include <locale.h> |
@@ -79,8 +81,6 @@ | |||
79 | #include <glob.h> | 81 | #include <glob.h> |
80 | #define expand_t glob_t | 82 | #define expand_t glob_t |
81 | #endif | 83 | #endif |
82 | #include "busybox.h" | ||
83 | #include "cmdedit.h" | ||
84 | 84 | ||
85 | 85 | ||
86 | static const int MAX_READ = 128; /* size of input buffer for `read' builtin */ | 86 | 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 @@ | |||
64 | #include <sys/wait.h> | 64 | #include <sys/wait.h> |
65 | #include <unistd.h> | 65 | #include <unistd.h> |
66 | #include <getopt.h> | 66 | #include <getopt.h> |
67 | #include "busybox.h" | ||
68 | #include "cmdedit.h" | ||
67 | 69 | ||
68 | #ifdef BB_LOCALE_SUPPORT | 70 | #ifdef BB_LOCALE_SUPPORT |
69 | #include <locale.h> | 71 | #include <locale.h> |
@@ -79,8 +81,6 @@ | |||
79 | #include <glob.h> | 81 | #include <glob.h> |
80 | #define expand_t glob_t | 82 | #define expand_t glob_t |
81 | #endif | 83 | #endif |
82 | #include "busybox.h" | ||
83 | #include "cmdedit.h" | ||
84 | 84 | ||
85 | 85 | ||
86 | static const int MAX_READ = 128; /* size of input buffer for `read' builtin */ | 86 | 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 @@ | |||
50 | #include <stdio.h> | 50 | #include <stdio.h> |
51 | #include <mntent.h> | 51 | #include <mntent.h> |
52 | #include <ctype.h> | 52 | #include <ctype.h> |
53 | #include "busybox.h" | ||
53 | #if defined BB_FEATURE_USE_DEVPS_PATCH | 54 | #if defined BB_FEATURE_USE_DEVPS_PATCH |
54 | #include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */ | 55 | # include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */ |
55 | #endif | 56 | #endif |
56 | #include "busybox.h" | ||
57 | 57 | ||
58 | enum { | 58 | enum { |
59 | MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */ | 59 | MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */ |