diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-24 13:42:56 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-24 13:42:56 +0000 |
commit | 5276402f2cdf39f8963243d7f54bf7f8c32ffd29 (patch) | |
tree | a137df2395b77e21753a893ad1e16bef8d109450 | |
parent | f98dc4db7a7799ba4ab33934203b32368740e99f (diff) | |
download | busybox-5276402f2cdf39f8963243d7f54bf7f8c32ffd29.tar.gz |
ash: fix compile problems
-rw-r--r-- | shell/ash.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index a7e282377..8e8577ad6 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -8099,6 +8099,9 @@ static int exportcmd(int, char **); #if ENABLE_ASH_GETOPTS static int getoptscmd(int, char **); #endif +#if !ENABLE_FEATURE_SH_EXTRA_QUIET +static int helpcmd(int argc, char **argv); +#endif #if ENABLE_ASH_MATH_SUPPORT static int letcmd(int, char **); #endif @@ -11357,7 +11360,7 @@ helpcmd(int argc, char **argv) out1fmt("\nBuilt-in commands:\n-------------------\n"); for (col = 0, i = 0; i < NUMBUILTINS; i++) { col += out1fmt("%c%s", ((col == 0) ? '\t' : ' '), - builtincmd[i].name + 1); + builtintab[i].name + 1); if (col > 60) { out1fmt("\n"); col = 0; |