Reduce exported from msh applet

This commit is contained in:
"Vladimir N. Oleynik" 2005-09-22 14:38:17 +00:00
parent 264e771b8b
commit ac9731704a

View File

@ -162,7 +162,8 @@ struct op {
#define TDOT 17 #define TDOT 17
/* Strings for names to make debug easier */ /* Strings for names to make debug easier */
char *T_CMD_NAMES[] = { #ifdef MSHDEBUG
static char *T_CMD_NAMES[] = {
"PLACEHOLDER", "PLACEHOLDER",
"TCOM", "TCOM",
"TPAREN", "TPAREN",
@ -182,7 +183,7 @@ char *T_CMD_NAMES[] = {
"TASYNC", "TASYNC",
"TDOT", "TDOT",
}; };
#endif
/* /*
* actions determining the environment of a process * actions determining the environment of a process
@ -698,7 +699,7 @@ static const struct builtincmd builtincmds[] = {
{0, 0} {0, 0}
}; };
struct op *scantree(struct op *); static struct op *scantree(struct op *);
static struct op *dowholefile(int, int); static struct op *dowholefile(int, int);
/* Globals */ /* Globals */
@ -4638,8 +4639,8 @@ REGISTER struct wdblock *wb;
return (wd); return (wd);
} }
int (*func) (char *, char *); static int (*func) (char *, char *);
int globv; static int globv;
static void glob0(a0, a1, a2, a3) static void glob0(a0, a1, a2, a3)
char *a0; char *a0;