aboutsummaryrefslogtreecommitdiff
path: root/libbb/lineedit.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2024-09-27 19:35:50 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2024-09-27 19:35:50 +0200
commite5b0547ac834dcd34c72df9aee1cf9c326c14b6f (patch)
tree13dcd4e5e6bf85093c3f1142305c0a55e9748962 /libbb/lineedit.c
parenta023f392655d55e6e5042fedc57b89a89bf8abd4 (diff)
downloadbusybox-w32-e5b0547ac834dcd34c72df9aee1cf9c326c14b6f.tar.gz
busybox-w32-e5b0547ac834dcd34c72df9aee1cf9c326c14b6f.tar.bz2
busybox-w32-e5b0547ac834dcd34c72df9aee1cf9c326c14b6f.zip
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>
Diffstat (limited to '')
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 543a3f11c..314fedf5c 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -1555,7 +1555,7 @@ static void load_history(line_input_t *st_parm)
1555} 1555}
1556 1556
1557# if ENABLE_FEATURE_EDITING_SAVE_ON_EXIT 1557# if ENABLE_FEATURE_EDITING_SAVE_ON_EXIT
1558void save_history(line_input_t *st) 1558void FAST_FUNC save_history(line_input_t *st)
1559{ 1559{
1560 FILE *fp; 1560 FILE *fp;
1561 1561