aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-24 13:42:56 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-24 13:42:56 +0000
commit5276402f2cdf39f8963243d7f54bf7f8c32ffd29 (patch)
treea137df2395b77e21753a893ad1e16bef8d109450
parentf98dc4db7a7799ba4ab33934203b32368740e99f (diff)
downloadbusybox-w32-5276402f2cdf39f8963243d7f54bf7f8c32ffd29.tar.gz
busybox-w32-5276402f2cdf39f8963243d7f54bf7f8c32ffd29.tar.bz2
busybox-w32-5276402f2cdf39f8963243d7f54bf7f8c32ffd29.zip
ash: fix compile problems
-rw-r--r--shell/ash.c5
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 **);
8099#if ENABLE_ASH_GETOPTS 8099#if ENABLE_ASH_GETOPTS
8100static int getoptscmd(int, char **); 8100static int getoptscmd(int, char **);
8101#endif 8101#endif
8102#if !ENABLE_FEATURE_SH_EXTRA_QUIET
8103static int helpcmd(int argc, char **argv);
8104#endif
8102#if ENABLE_ASH_MATH_SUPPORT 8105#if ENABLE_ASH_MATH_SUPPORT
8103static int letcmd(int, char **); 8106static int letcmd(int, char **);
8104#endif 8107#endif
@@ -11357,7 +11360,7 @@ helpcmd(int argc, char **argv)
11357 out1fmt("\nBuilt-in commands:\n-------------------\n"); 11360 out1fmt("\nBuilt-in commands:\n-------------------\n");
11358 for (col = 0, i = 0; i < NUMBUILTINS; i++) { 11361 for (col = 0, i = 0; i < NUMBUILTINS; i++) {
11359 col += out1fmt("%c%s", ((col == 0) ? '\t' : ' '), 11362 col += out1fmt("%c%s", ((col == 0) ? '\t' : ' '),
11360 builtincmd[i].name + 1); 11363 builtintab[i].name + 1);
11361 if (col > 60) { 11364 if (col > 60) {
11362 out1fmt("\n"); 11365 out1fmt("\n");
11363 col = 0; 11366 col = 0;