diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-22 14:38:17 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-22 14:38:17 +0000 |
commit | ac9731704a03d08b061ee02853e7cebe36964aba (patch) | |
tree | e20b7851dc40320632219fdc06d76026d4ef3e4a /shell | |
parent | 264e771b8bdb4f6ddf9ebd171ce0a88f9b855fb7 (diff) | |
download | busybox-w32-ac9731704a03d08b061ee02853e7cebe36964aba.tar.gz busybox-w32-ac9731704a03d08b061ee02853e7cebe36964aba.tar.bz2 busybox-w32-ac9731704a03d08b061ee02853e7cebe36964aba.zip |
Reduce exported from msh applet
Diffstat (limited to 'shell')
-rw-r--r-- | shell/msh.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/shell/msh.c b/shell/msh.c index 14e875854..25c98a430 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -162,7 +162,8 @@ struct op { | |||
162 | #define TDOT 17 | 162 | #define TDOT 17 |
163 | 163 | ||
164 | /* Strings for names to make debug easier */ | 164 | /* Strings for names to make debug easier */ |
165 | char *T_CMD_NAMES[] = { | 165 | #ifdef MSHDEBUG |
166 | static char *T_CMD_NAMES[] = { | ||
166 | "PLACEHOLDER", | 167 | "PLACEHOLDER", |
167 | "TCOM", | 168 | "TCOM", |
168 | "TPAREN", | 169 | "TPAREN", |
@@ -182,7 +183,7 @@ char *T_CMD_NAMES[] = { | |||
182 | "TASYNC", | 183 | "TASYNC", |
183 | "TDOT", | 184 | "TDOT", |
184 | }; | 185 | }; |
185 | 186 | #endif | |
186 | 187 | ||
187 | /* | 188 | /* |
188 | * actions determining the environment of a process | 189 | * actions determining the environment of a process |
@@ -698,7 +699,7 @@ static const struct builtincmd builtincmds[] = { | |||
698 | {0, 0} | 699 | {0, 0} |
699 | }; | 700 | }; |
700 | 701 | ||
701 | struct op *scantree(struct op *); | 702 | static struct op *scantree(struct op *); |
702 | static struct op *dowholefile(int, int); | 703 | static struct op *dowholefile(int, int); |
703 | 704 | ||
704 | /* Globals */ | 705 | /* Globals */ |
@@ -4638,8 +4639,8 @@ REGISTER struct wdblock *wb; | |||
4638 | return (wd); | 4639 | return (wd); |
4639 | } | 4640 | } |
4640 | 4641 | ||
4641 | int (*func) (char *, char *); | 4642 | static int (*func) (char *, char *); |
4642 | int globv; | 4643 | static int globv; |
4643 | 4644 | ||
4644 | static void glob0(a0, a1, a2, a3) | 4645 | static void glob0(a0, a1, a2, a3) |
4645 | char *a0; | 4646 | char *a0; |