diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 6dd4d7cae..b5d1156ae 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1436,7 +1436,7 @@ void read_key_ungets(char *buffer, const char *str, unsigned len) FAST_FUNC; | |||
1436 | /* It's NOT just ENABLEd or disabled. It's a number: */ | 1436 | /* It's NOT just ENABLEd or disabled. It's a number: */ |
1437 | # if defined CONFIG_FEATURE_EDITING_HISTORY && CONFIG_FEATURE_EDITING_HISTORY > 0 | 1437 | # if defined CONFIG_FEATURE_EDITING_HISTORY && CONFIG_FEATURE_EDITING_HISTORY > 0 |
1438 | # define MAX_HISTORY (CONFIG_FEATURE_EDITING_HISTORY + 0) | 1438 | # define MAX_HISTORY (CONFIG_FEATURE_EDITING_HISTORY + 0) |
1439 | unsigned size_from_HISTFILESIZE(const char *hp); | 1439 | unsigned size_from_HISTFILESIZE(const char *hp) FAST_FUNC; |
1440 | # else | 1440 | # else |
1441 | # define MAX_HISTORY 0 | 1441 | # define MAX_HISTORY 0 |
1442 | # endif | 1442 | # endif |
@@ -1478,6 +1478,7 @@ line_input_t *new_line_input_t(int flags) FAST_FUNC; | |||
1478 | * >0 length of input string, including terminating '\n' | 1478 | * >0 length of input string, including terminating '\n' |
1479 | */ | 1479 | */ |
1480 | int read_line_input(line_input_t *st, const char *prompt, char *command, int maxsize, int timeout) FAST_FUNC; | 1480 | int read_line_input(line_input_t *st, const char *prompt, char *command, int maxsize, int timeout) FAST_FUNC; |
1481 | void show_history(const line_input_t *st) FAST_FUNC; | ||
1481 | # if ENABLE_FEATURE_EDITING_SAVE_ON_EXIT | 1482 | # if ENABLE_FEATURE_EDITING_SAVE_ON_EXIT |
1482 | void save_history(line_input_t *st); | 1483 | void save_history(line_input_t *st); |
1483 | # endif | 1484 | # endif |