summaryrefslogtreecommitdiffstats
path: root/bin/sh/nodes.c.pat
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2003-07-05 15:18:44 +0000
committerdds <dds@FreeBSD.org>2003-07-05 15:18:44 +0000
commit34719e1dbbd13069c2034382dc5129edf7657a4b (patch)
treeb3c2aa55b49d1fcca627aec69e1e5a16b264b51d /bin/sh/nodes.c.pat
parent9179c67e977015ed4bfe4a52ade43ac574300c93 (diff)
downloadFreeBSD-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/nodes.c.pat')
-rw-r--r--bin/sh/nodes.c.pat8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sh/nodes.c.pat b/bin/sh/nodes.c.pat
index 80541b0..6319613 100644
--- a/bin/sh/nodes.c.pat
+++ b/bin/sh/nodes.c.pat
@@ -49,10 +49,10 @@
#include "mystring.h"
-int funcblocksize; /* size of structures in function */
-int funcstringsize; /* size of strings in node */
-pointer funcblock; /* block to allocate function from */
-char *funcstring; /* block to allocate strings from */
+STATIC int funcblocksize; /* size of structures in function */
+STATIC int funcstringsize; /* size of strings in node */
+STATIC pointer funcblock; /* block to allocate function from */
+STATIC char *funcstring; /* block to allocate strings from */
%SIZES
OpenPOWER on IntegriCloud