ash: ALWAYS_INLINE grabstackblock()
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 10 Jan 2018 14:18:35 +0000 (15:18 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 10 Jan 2018 14:18:35 +0000 (15:18 +0100)
function                                             old     new   delta
grabstackblock                                         5       -      -5

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

index a7f330c117e1d778e195d99303f5fb5ec5002b16..8c0f3bd8de810bc9e895c648825d7b2a66dc4f23 100644 (file)
@@ -1532,7 +1532,7 @@ sstrdup(const char *p)
        return memcpy(stalloc(len), p, len);
 }
 
-static inline void
+static ALWAYS_INLINE void
 grabstackblock(size_t len)
 {
        stalloc(len);