diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 1c3d905b6..cae54658b 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1906,7 +1906,11 @@ enum { | |||
1906 | FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, | 1906 | FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, |
1907 | }; | 1907 | }; |
1908 | line_input_t *new_line_input_t(int flags) FAST_FUNC; | 1908 | line_input_t *new_line_input_t(int flags) FAST_FUNC; |
1909 | #if ENABLE_FEATURE_EDITING_SAVEHISTORY | ||
1909 | void free_line_input_t(line_input_t *n) FAST_FUNC; | 1910 | void free_line_input_t(line_input_t *n) FAST_FUNC; |
1911 | #else | ||
1912 | # define free_line_input_t(n) free(n) | ||
1913 | #endif | ||
1910 | /* | 1914 | /* |
1911 | * maxsize must be >= 2. | 1915 | * maxsize must be >= 2. |
1912 | * Returns: | 1916 | * Returns: |