diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index dd82e9754..78b390611 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1403,12 +1403,11 @@ line_input_t *new_line_input_t(int flags) FAST_FUNC; | |||
1403 | * 0 on ctrl-C (the line entered is still returned in 'command'), | 1403 | * 0 on ctrl-C (the line entered is still returned in 'command'), |
1404 | * >0 length of input string, including terminating '\n' | 1404 | * >0 length of input string, including terminating '\n' |
1405 | */ | 1405 | */ |
1406 | /* NB: ash has timeout code which can be moved into read_line_input, if needed */ | 1406 | int read_line_input(line_input_t *st, const char *prompt, char *command, int maxsize, int timeout) FAST_FUNC; |
1407 | int read_line_input(const char* prompt, char* command, int maxsize, line_input_t *state) FAST_FUNC; | ||
1408 | #else | 1407 | #else |
1409 | #define MAX_HISTORY 0 | 1408 | #define MAX_HISTORY 0 |
1410 | int read_line_input(const char* prompt, char* command, int maxsize) FAST_FUNC; | 1409 | int read_line_input(const char* prompt, char* command, int maxsize) FAST_FUNC; |
1411 | #define read_line_input(prompt, command, maxsize, state) \ | 1410 | #define read_line_input(state, prompt, command, maxsize, timeout) \ |
1412 | read_line_input(prompt, command, maxsize) | 1411 | read_line_input(prompt, command, maxsize) |
1413 | #endif | 1412 | #endif |
1414 | 1413 | ||