From a68a87cd60c2cb0c0e9170317901d8f70923926a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 6 Dec 2018 11:12:38 +0100 Subject: bc: unbreak FEATURE_CLEAN_UP build Signed-off-by: Denys Vlasenko --- include/libbb.h | 2 +- libbb/lineedit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libbb.h b/include/libbb.h index df3c2d3c9..9e0970095 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1786,7 +1786,7 @@ enum { FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, }; line_input_t *new_line_input_t(int flags) FAST_FUNC; -/* So far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */ +void free_line_input_t(line_input_t *n) FAST_FUNC; /* * maxsize must be >= 2. * Returns: diff --git a/libbb/lineedit.c b/libbb/lineedit.c index b1e971f88..b6fcd7af0 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -1382,7 +1382,7 @@ void FAST_FUNC show_history(const line_input_t *st) * than configured MAX_HISTORY lines. */ -static void free_line_input_t(line_input_t *n) +void FAST_FUNC free_line_input_t(line_input_t *n) { int i = n->cnt_history; while (i > 0) -- cgit v1.2.3