diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/libbb.h b/include/libbb.h index 17fb6fae6..b68f9b684 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -2092,11 +2092,11 @@ enum { | |||
2092 | FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION | LI_INTERRUPTIBLE, | 2092 | FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION | LI_INTERRUPTIBLE, |
2093 | }; | 2093 | }; |
2094 | line_input_t *new_line_input_t(int flags) FAST_FUNC; | 2094 | line_input_t *new_line_input_t(int flags) FAST_FUNC; |
2095 | #if ENABLE_FEATURE_EDITING_SAVEHISTORY | 2095 | # if ENABLE_FEATURE_EDITING_SAVEHISTORY |
2096 | void free_line_input_t(line_input_t *n) FAST_FUNC; | 2096 | void free_line_input_t(line_input_t *n) FAST_FUNC; |
2097 | #else | 2097 | # else |
2098 | # define free_line_input_t(n) free(n) | 2098 | # define free_line_input_t(n) free(n) |
2099 | #endif | 2099 | # endif |
2100 | /* | 2100 | /* |
2101 | * maxsize must be >= 2. | 2101 | * maxsize must be >= 2. |
2102 | * Returns: | 2102 | * Returns: |
@@ -2107,7 +2107,7 @@ void free_line_input_t(line_input_t *n) FAST_FUNC; | |||
2107 | int read_line_input(line_input_t *st, const char *prompt, char *command, int maxsize) FAST_FUNC; | 2107 | int read_line_input(line_input_t *st, const char *prompt, char *command, int maxsize) FAST_FUNC; |
2108 | void show_history(const line_input_t *st) FAST_FUNC; | 2108 | void show_history(const line_input_t *st) FAST_FUNC; |
2109 | # if ENABLE_FEATURE_EDITING_SAVE_ON_EXIT | 2109 | # if ENABLE_FEATURE_EDITING_SAVE_ON_EXIT |
2110 | void save_history(line_input_t *st); | 2110 | void save_history(line_input_t *st) FAST_FUNC; |
2111 | # endif | 2111 | # endif |
2112 | #else | 2112 | #else |
2113 | #define MAX_HISTORY 0 | 2113 | #define MAX_HISTORY 0 |