diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c index 2c43960..e47c478 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -1491,12 +1491,10 @@ sstrdup(const char *p) return memcpy(stalloc(len), p, len); } -static void +static inline void grabstackblock(size_t len) { - len = SHELL_ALIGN(len); - g_stacknxt += len; - g_stacknleft -= len; + stalloc(len); } static void |