From 67c4a712abeb04df3bb98e40912d47bc8c294f5a Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Fri, 5 Oct 2007 23:26:45 +0800 Subject: [MEMALLOC] Made grabstackblock an inline wrapper for stalloc The function grabstackblock is identical in semantics to stalloc within its input constraints. --- src/memalloc.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/memalloc.c') diff --git a/src/memalloc.c b/src/memalloc.c index 358e6ec..c8147d3 100644 --- a/src/memalloc.c +++ b/src/memalloc.c @@ -254,14 +254,6 @@ growstackblock(void) } } -void -grabstackblock(size_t len) -{ - len = SHELL_ALIGN(len); - stacknxt += len; - stacknleft -= len; -} - /* * The following routines are somewhat easier to use than the above. * The user declares a variable of type STACKSTR, which may be declared -- cgit 1.4.1