summaryrefslogtreecommitdiffstats
path: root/bin/sh/eval.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2010-10-13 04:01:01 +0000
committerobrien <obrien@FreeBSD.org>2010-10-13 04:01:01 +0000
commitf31ad1c86b4755ef67582377762ce84fa733658b (patch)
tree9c3469b15542c1ab6cc58c5974f1da71c59da708 /bin/sh/eval.c
parent8c097aa69ed7151df0358afc55a9bec6e7ae8b1a (diff)
downloadFreeBSD-src-f31ad1c86b4755ef67582377762ce84fa733658b.zip
FreeBSD-src-f31ad1c86b4755ef67582377762ce84fa733658b.tar.gz
Consistently use "STATIC" for all functions in order to be able to set
breakpoints with in a debugger. And use naked "static" for variables. Noticed by: bde
Diffstat (limited to 'bin/sh/eval.c')
-rw-r--r--bin/sh/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/eval.c b/bin/sh/eval.c
index 29923c7..6d73a0f 100644
--- a/bin/sh/eval.c
+++ b/bin/sh/eval.c
@@ -75,10 +75,10 @@ __FBSDID("$FreeBSD$");
int evalskip; /* set if we are skipping commands */
-STATIC int skipcount; /* number of levels to skip */
+static int skipcount; /* number of levels to skip */
MKINIT int loopnest; /* current loop nesting level */
int funcnest; /* depth of function calls */
-STATIC int builtin_flags; /* evalcommand flags for builtins */
+static int builtin_flags; /* evalcommand flags for builtins */
char *commandname;
OpenPOWER on IntegriCloud