bc: unbreak FEATURE_CLEAN_UP build

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-12-06 11:12:38 +01:00
parent a6f84e1a35
commit a68a87cd60
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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)