diff options
author | Denis Vlasenko | 2006-12-24 15:23:28 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-24 15:23:28 +0000 |
commit | 0ee3999d13b662d233dfc7decdd4d691cd66fdda (patch) | |
tree | 283bf4908f787f50a90cb84c014a580485307a9b /shell/ash.c | |
parent | 7cea262273659e9894d446a3f9ea6b83fb18892a (diff) | |
download | busybox-0ee3999d13b662d233dfc7decdd4d691cd66fdda.zip busybox-0ee3999d13b662d233dfc7decdd4d691cd66fdda.tar.gz |
random tiny size savings
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/shell/ash.c b/shell/ash.c index 2de61da..e8f7d30 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -11893,17 +11893,11 @@ static int helpcmd(int argc, char **argv) } } #ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL - { - extern const struct BB_applet applets[]; - extern const size_t NUM_APPLETS; - - for (i = 0; i < NUM_APPLETS; i++) { - - col += out1fmt("%c%s", ((col == 0) ? '\t' : ' '), applets[i].name); - if (col > 60) { - out1fmt("\n"); - col = 0; - } + for (i = 0; i < NUM_APPLETS; i++) { + col += out1fmt("%c%s", ((col == 0) ? '\t' : ' '), applets[i].name); + if (col > 60) { + out1fmt("\n"); + col = 0; } } #endif |