diff options
author | obrien <obrien@FreeBSD.org> | 2010-10-13 04:01:01 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-10-13 04:01:01 +0000 |
commit | f31ad1c86b4755ef67582377762ce84fa733658b (patch) | |
tree | 9c3469b15542c1ab6cc58c5974f1da71c59da708 /bin/sh/exec.c | |
parent | 8c097aa69ed7151df0358afc55a9bec6e7ae8b1a (diff) | |
download | FreeBSD-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.c | 6 |
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 * |