aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 2c439602a..e47c47850 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -1491,12 +1491,10 @@ sstrdup(const char *p)
1491 return memcpy(stalloc(len), p, len); 1491 return memcpy(stalloc(len), p, len);
1492} 1492}
1493 1493
1494static void 1494static inline void
1495grabstackblock(size_t len) 1495grabstackblock(size_t len)
1496{ 1496{
1497 len = SHELL_ALIGN(len); 1497 stalloc(len);
1498 g_stacknxt += len;
1499 g_stacknleft -= len;
1500} 1498}
1501 1499
1502static void 1500static void