lineedit: make save_history() FAST_FUNC
function old new delta save_history 267 266 -1 hush_exit 98 97 -1 exitshell 140 138 -2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-4) Total: -4 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
a023f39265
commit
e5b0547ac8
2 changed files with 6 additions and 6 deletions
|
@ -2013,7 +2013,7 @@ void free_line_input_t(line_input_t *n) FAST_FUNC;
|
|||
int read_line_input(line_input_t *st, const char *prompt, char *command, int maxsize) FAST_FUNC;
|
||||
void show_history(const line_input_t *st) FAST_FUNC;
|
||||
# if ENABLE_FEATURE_EDITING_SAVE_ON_EXIT
|
||||
void save_history(line_input_t *st);
|
||||
void save_history(line_input_t *st) FAST_FUNC;
|
||||
# endif
|
||||
#else
|
||||
#define MAX_HISTORY 0
|
||||
|
|
|
@ -1555,7 +1555,7 @@ static void load_history(line_input_t *st_parm)
|
|||
}
|
||||
|
||||
# if ENABLE_FEATURE_EDITING_SAVE_ON_EXIT
|
||||
void save_history(line_input_t *st)
|
||||
void FAST_FUNC save_history(line_input_t *st)
|
||||
{
|
||||
FILE *fp;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue