From 2ba1b30bf50f04ab147452cfba7a3b9899f1d59c Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Sat, 5 Jul 2003 15:18:44 +0000 Subject: Changes following CScout analysis: - Removed dead declarations - Made objects that should have been declared as static, static. The changes use STATIC instead of static, following the existing convention in the rest of the code. Approved by: schweikh (mentor) MFC after: 2 weeks --- bin/sh/memalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/sh/memalloc.c') diff --git a/bin/sh/memalloc.c b/bin/sh/memalloc.c index cfe087e908d0..6334290bd10d 100644 --- a/bin/sh/memalloc.c +++ b/bin/sh/memalloc.c @@ -113,8 +113,8 @@ struct stack_block { }; #define SPACE(sp) ((char*)(sp) + ALIGN(sizeof(struct stack_block))) -struct stack_block *stackp; -struct stackmark *markp; +STATIC struct stack_block *stackp; +STATIC struct stackmark *markp; char *stacknxt; int stacknleft; int sstrnleft; -- cgit v1.2.3