diff options
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 25971f927..98812b507 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
| @@ -8299,7 +8299,7 @@ static const struct built_in_command *find_builtin(const char *name) | |||
| 8299 | return find_builtin_helper(name, bltins2, &bltins2[ARRAY_SIZE(bltins2)]); | 8299 | return find_builtin_helper(name, bltins2, &bltins2[ARRAY_SIZE(bltins2)]); |
| 8300 | } | 8300 | } |
| 8301 | 8301 | ||
| 8302 | #if ENABLE_HUSH_JOB && ENABLE_FEATURE_TAB_COMPLETION | 8302 | #if ENABLE_HUSH_INTERACTIVE && ENABLE_FEATURE_TAB_COMPLETION |
| 8303 | static const char * FAST_FUNC hush_command_name(int i) | 8303 | static const char * FAST_FUNC hush_command_name(int i) |
| 8304 | { | 8304 | { |
| 8305 | if (/*i >= 0 && */ i < ARRAY_SIZE(bltins1)) { | 8305 | if (/*i >= 0 && */ i < ARRAY_SIZE(bltins1)) { |
| @@ -10206,7 +10206,7 @@ static int run_and_free_list(struct pipe *pi) | |||
| 10206 | /* | 10206 | /* |
| 10207 | * Initialization and main | 10207 | * Initialization and main |
| 10208 | */ | 10208 | */ |
| 10209 | #if ENABLE_FEATURE_EDITING | 10209 | #if ENABLE_HUSH_INTERACTIVE && ENABLE_FEATURE_EDITING |
| 10210 | static void init_line_editing(void) | 10210 | static void init_line_editing(void) |
| 10211 | { | 10211 | { |
| 10212 | G.line_input_state = new_line_input_t(FOR_SHELL); | 10212 | G.line_input_state = new_line_input_t(FOR_SHELL); |
