diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-03 16:22:21 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-03 16:22:21 +0200 |
| commit | 778fce3e7089c9546fe3f147d355a008f5e12c42 (patch) | |
| tree | 42cb8fc287cfc0f3cc27a1c0aa5187708930b849 /shell | |
| parent | dba57344b5293a3ebdce4d090fe42af192f0dc3d (diff) | |
| download | busybox-w32-778fce3e7089c9546fe3f147d355a008f5e12c42.tar.gz busybox-w32-778fce3e7089c9546fe3f147d355a008f5e12c42.tar.bz2 busybox-w32-778fce3e7089c9546fe3f147d355a008f5e12c42.zip | |
hush: fix build failure if !CONFIG_HUSH_JOB
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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); |
