summaryrefslogtreecommitdiffstats
path: root/bin/sh/exec.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/exec.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/exec.c')
-rw-r--r--bin/sh/exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/exec.c b/bin/sh/exec.c
index 7c15f79..fe83c7f 100644
--- a/bin/sh/exec.c
+++ b/bin/sh/exec.c
@@ -91,8 +91,8 @@ struct tblentry {
};
-STATIC struct tblentry *cmdtable[CMDTABLESIZE];
-STATIC int builtinloc = -1; /* index in path of %builtin, or -1 */
+static struct tblentry *cmdtable[CMDTABLESIZE];
+static int builtinloc = -1; /* index in path of %builtin, or -1 */
int exerrno = 0; /* Last exec error */
@@ -615,7 +615,7 @@ deletefuncs(void)
* entry.
*/
-STATIC struct tblentry **lastcmdentry;
+static struct tblentry **lastcmdentry;
STATIC struct tblentry *
OpenPOWER on IntegriCloud