ash: force inlining of a trivial function
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Jul 2017 21:08:36 +0000 (23:08 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Jul 2017 21:08:36 +0000 (23:08 +0200)
function                                             old     new   delta
bltinlookup                                            5       -      -5

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c

index faa42e28ce473eb7aac0c397421f3ef87e554d94..f74fbd72f7b11d811730a34e12ee02253ce5e067 100644 (file)
@@ -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);