diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-26 19:00:18 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-26 19:00:18 +0000 |
commit | b6adbf1be29841501cc49917249e85f273e1df7c (patch) | |
tree | e28a5603e6009b2479e949b8b9b4aa0620fed400 /shell | |
parent | 5a6aeddfa7262e41802c77f70c9ef88e9c2c2476 (diff) | |
download | busybox-w32-b6adbf1be29841501cc49917249e85f273e1df7c.tar.gz busybox-w32-b6adbf1be29841501cc49917249e85f273e1df7c.tar.bz2 busybox-w32-b6adbf1be29841501cc49917249e85f273e1df7c.zip |
usage.c: remove reference to busybox.h
*: s/include "busybox.h"/include "libbb.h"
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 | ||||
-rw-r--r-- | shell/bbsh.c | 2 | ||||
-rw-r--r-- | shell/hush.c | 5 | ||||
-rw-r--r-- | shell/lash.c | 5 |
4 files changed, 9 insertions, 5 deletions
diff --git a/shell/ash.c b/shell/ash.c index ed46e1c0c..b1d22e5d2 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -53,7 +53,7 @@ | |||
53 | #if DEBUG | 53 | #if DEBUG |
54 | #define _GNU_SOURCE | 54 | #define _GNU_SOURCE |
55 | #endif | 55 | #endif |
56 | #include "busybox.h" | 56 | #include "busybox.h" /* for struct bb_applet */ |
57 | #include <paths.h> | 57 | #include <paths.h> |
58 | #include <setjmp.h> | 58 | #include <setjmp.h> |
59 | #include <fnmatch.h> | 59 | #include <fnmatch.h> |
diff --git a/shell/bbsh.c b/shell/bbsh.c index 8f0fb0511..4fd071404 100644 --- a/shell/bbsh.c +++ b/shell/bbsh.c | |||
@@ -36,7 +36,7 @@ | |||
36 | echo `echo hello#comment " woot` and more | 36 | echo `echo hello#comment " woot` and more |
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "busybox.h" | 39 | #include "libbb.h" |
40 | 40 | ||
41 | // A single executable, its arguments, and other information we know about it. | 41 | // A single executable, its arguments, and other information we know about it. |
42 | #define BBSH_FLAG_EXIT 1 | 42 | #define BBSH_FLAG_EXIT 1 |
diff --git a/shell/hush.c b/shell/hush.c index 2e6f286dc..6844f06c2 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -76,12 +76,15 @@ | |||
76 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 76 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
77 | */ | 77 | */ |
78 | 78 | ||
79 | #include "busybox.h" | 79 | |
80 | #include <glob.h> /* glob, of course */ | 80 | #include <glob.h> /* glob, of course */ |
81 | #include <getopt.h> /* should be pretty obvious */ | 81 | #include <getopt.h> /* should be pretty obvious */ |
82 | /* #include <dmalloc.h> */ | 82 | /* #include <dmalloc.h> */ |
83 | |||
83 | extern char **environ; /* This is in <unistd.h>, but protected with __USE_GNU */ | 84 | extern char **environ; /* This is in <unistd.h>, but protected with __USE_GNU */ |
84 | 85 | ||
86 | #include "busybox.h" /* for struct bb_applet */ | ||
87 | |||
85 | 88 | ||
86 | /* If you comment out one of these below, it will be #defined later | 89 | /* If you comment out one of these below, it will be #defined later |
87 | * to perform debug printfs to stderr: */ | 90 | * to perform debug printfs to stderr: */ |
diff --git a/shell/lash.c b/shell/lash.c index 28449b791..21c95fb1b 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -20,10 +20,11 @@ | |||
20 | //For debugging/development on the shell only... | 20 | //For debugging/development on the shell only... |
21 | //#define DEBUG_SHELL | 21 | //#define DEBUG_SHELL |
22 | 22 | ||
23 | |||
24 | #include "busybox.h" | ||
25 | #include <getopt.h> | 23 | #include <getopt.h> |
26 | #include <glob.h> | 24 | #include <glob.h> |
25 | |||
26 | #include "busybox.h" /* for struct bb_applet */ | ||
27 | |||
27 | #define expand_t glob_t | 28 | #define expand_t glob_t |
28 | 29 | ||
29 | /* Always enable for the moment... */ | 30 | /* Always enable for the moment... */ |