aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-06 11:12:38 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-06 11:12:38 +0100
commita68a87cd60c2cb0c0e9170317901d8f70923926a (patch)
treefa0e35426aa8be3eec1d8ece841d6c159b122cf0
parenta6f84e1a35b5d9d15bfb976f76bb5dc340bc995c (diff)
downloadbusybox-w32-a68a87cd60c2cb0c0e9170317901d8f70923926a.tar.gz
busybox-w32-a68a87cd60c2cb0c0e9170317901d8f70923926a.tar.bz2
busybox-w32-a68a87cd60c2cb0c0e9170317901d8f70923926a.zip
bc: unbreak FEATURE_CLEAN_UP build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/libbb.h2
-rw-r--r--libbb/lineedit.c2
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 {
1786 FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, 1786 FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION,
1787}; 1787};
1788line_input_t *new_line_input_t(int flags) FAST_FUNC; 1788line_input_t *new_line_input_t(int flags) FAST_FUNC;
1789/* So far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */ 1789void free_line_input_t(line_input_t *n) FAST_FUNC;
1790/* 1790/*
1791 * maxsize must be >= 2. 1791 * maxsize must be >= 2.
1792 * Returns: 1792 * 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)
1382 * than configured MAX_HISTORY lines. 1382 * than configured MAX_HISTORY lines.
1383 */ 1383 */
1384 1384
1385static void free_line_input_t(line_input_t *n) 1385void FAST_FUNC free_line_input_t(line_input_t *n)
1386{ 1386{
1387 int i = n->cnt_history; 1387 int i = n->cnt_history;
1388 while (i > 0) 1388 while (i > 0)