[git commit] ash: force inlining of a trivial function

Denys Vlasenko vda.linux at googlemail.com
Wed Jul 26 21:08:36 UTC 2017


commit: https://git.busybox.net/busybox/commit/?id=488e609203c23b9826f75179f1b8e567617138ae
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

function                                             old     new   delta
bltinlookup                                            5       -      -5

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/ash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shell/ash.c b/shell/ash.c
index faa42e2..f74fbd7 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2224,7 +2224,7 @@ reinit_unicode_for_ash(void)
 /*
  * Search the environment of a builtin command.
  */
-static inline const char *
+static ALWAYS_INLINE const char *
 bltinlookup(const char *name)
 {
 	return lookupvar(name);


More information about the busybox-cvs mailing list