diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
commit | bdfd0d78bc44e73d693510e70087857785b3b521 (patch) | |
tree | 153a573095afac8d8d0ea857759ecabd77fb28b7 /applets/busybox.c | |
parent | 9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff) | |
download | busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2 busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.zip |
Major rework of the directory structure and the entire build system.
-Erik
Diffstat (limited to 'applets/busybox.c')
-rw-r--r-- | applets/busybox.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index 33efb5d84..e6e5eca2d 100644 --- a/applets/busybox.c +++ b/applets/busybox.c | |||
@@ -5,14 +5,14 @@ | |||
5 | #include <errno.h> | 5 | #include <errno.h> |
6 | #include <stdlib.h> | 6 | #include <stdlib.h> |
7 | #include "busybox.h" | 7 | #include "busybox.h" |
8 | #ifdef BB_LOCALE_SUPPORT | 8 | #ifdef CONFIG_LOCALE_SUPPORT |
9 | #include <locale.h> | 9 | #include <locale.h> |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | int been_there_done_that = 0; /* Also used in applets.c */ | 12 | int been_there_done_that = 0; /* Also used in applets.c */ |
13 | const char *applet_name; | 13 | const char *applet_name; |
14 | 14 | ||
15 | #ifdef BB_FEATURE_INSTALLER | 15 | #ifdef CONFIG_FEATURE_INSTALLER |
16 | /* | 16 | /* |
17 | * directory table | 17 | * directory table |
18 | * this should be consistent w/ the enum, busybox.h::Location, | 18 | * this should be consistent w/ the enum, busybox.h::Location, |
@@ -63,7 +63,7 @@ static void install_links(const char *busybox, int use_symbolic_links) | |||
63 | } | 63 | } |
64 | } | 64 | } |
65 | 65 | ||
66 | #endif /* BB_FEATURE_INSTALLER */ | 66 | #endif /* CONFIG_FEATURE_INSTALLER */ |
67 | 67 | ||
68 | int main(int argc, char **argv) | 68 | int main(int argc, char **argv) |
69 | { | 69 | { |
@@ -79,8 +79,8 @@ int main(int argc, char **argv) | |||
79 | applet_name = s; | 79 | applet_name = s; |
80 | } | 80 | } |
81 | 81 | ||
82 | #ifdef BB_LOCALE_SUPPORT | 82 | #ifdef CONFIG_LOCALE_SUPPORT |
83 | #ifdef BB_INIT | 83 | #ifdef CONFIG_INIT |
84 | if(getpid()!=1) /* Do not set locale for `init' */ | 84 | if(getpid()!=1) /* Do not set locale for `init' */ |
85 | #endif | 85 | #endif |
86 | { | 86 | { |
@@ -97,7 +97,7 @@ int busybox_main(int argc, char **argv) | |||
97 | { | 97 | { |
98 | int col = 0, len, i; | 98 | int col = 0, len, i; |
99 | 99 | ||
100 | #ifdef BB_FEATURE_INSTALLER | 100 | #ifdef CONFIG_FEATURE_INSTALLER |
101 | /* | 101 | /* |
102 | * This style of argument parsing doesn't scale well | 102 | * This style of argument parsing doesn't scale well |
103 | * in the event that busybox starts wanting more --options. | 103 | * in the event that busybox starts wanting more --options. |
@@ -125,7 +125,7 @@ int busybox_main(int argc, char **argv) | |||
125 | } | 125 | } |
126 | return rc; | 126 | return rc; |
127 | } | 127 | } |
128 | #endif /* BB_FEATURE_INSTALLER */ | 128 | #endif /* CONFIG_FEATURE_INSTALLER */ |
129 | 129 | ||
130 | argc--; | 130 | argc--; |
131 | 131 | ||