diff options
author | dds <dds@FreeBSD.org> | 2003-07-05 15:18:44 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2003-07-05 15:18:44 +0000 |
commit | 34719e1dbbd13069c2034382dc5129edf7657a4b (patch) | |
tree | b3c2aa55b49d1fcca627aec69e1e5a16b264b51d /bin/sh/memalloc.c | |
parent | 9179c67e977015ed4bfe4a52ade43ac574300c93 (diff) | |
download | FreeBSD-src-34719e1dbbd13069c2034382dc5129edf7657a4b.zip FreeBSD-src-34719e1dbbd13069c2034382dc5129edf7657a4b.tar.gz |
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
Diffstat (limited to 'bin/sh/memalloc.c')
-rw-r--r-- | bin/sh/memalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/memalloc.c b/bin/sh/memalloc.c index cfe087e..6334290 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; |