From a8e19608fc9d2f775a4f81eaf9c38a5844684237 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 14 Dec 2020 03:52:54 +0100 Subject: hush: code shrink function old new delta run_applet_main - 20 +20 builtin_kill 296 288 -8 builtin_test 19 10 -9 builtin_printf 19 10 -9 builtin_echo 19 10 -9 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/4 up/down: 20/-35) Total: -15 bytes Signed-off-by: Denys Vlasenko --- shell/hush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/hush.c b/shell/hush.c index ba9540c98..3ccc18146 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -10499,7 +10499,7 @@ static int FAST_FUNC builtin_true(char **argv UNUSED_PARAM) } #if ENABLE_HUSH_TEST || ENABLE_HUSH_ECHO || ENABLE_HUSH_PRINTF || ENABLE_HUSH_KILL -static int run_applet_main(char **argv, int (*applet_main_func)(int argc, char **argv)) +static NOINLINE int run_applet_main(char **argv, int (*applet_main_func)(int argc, char **argv)) { int argc = string_array_len(argv); return applet_main_func(argc, argv); -- cgit v1.2.3