summaryrefslogtreecommitdiffstats
path: root/bin/sh/eval.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2010-10-13 22:18:03 +0000
committerobrien <obrien@FreeBSD.org>2010-10-13 22:18:03 +0000
commit08b8d916b5887267ef963fd711f1e65b7d8378ac (patch)
treee6aebfbd6fc9b05a3d5978a6cd639a9acb7a748a /bin/sh/eval.c
parent67f7009c396ada7a6c986ffb8369f851e1063b6f (diff)
downloadFreeBSD-src-08b8d916b5887267ef963fd711f1e65b7d8378ac.zip
FreeBSD-src-08b8d916b5887267ef963fd711f1e65b7d8378ac.tar.gz
In the spirit of r90111, depend on c89 and remove the "STATIC" macro
and its usage.
Diffstat (limited to 'bin/sh/eval.c')
-rw-r--r--bin/sh/eval.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/bin/sh/eval.c b/bin/sh/eval.c
index 6d73a0f..499751d 100644
--- a/bin/sh/eval.c
+++ b/bin/sh/eval.c
@@ -87,15 +87,15 @@ int exitstatus; /* exit status of last command */
int oexitstatus; /* saved exit status */
-STATIC void evalloop(union node *, int);
-STATIC void evalfor(union node *, int);
-STATIC void evalcase(union node *, int);
-STATIC void evalsubshell(union node *, int);
-STATIC void evalredir(union node *, int);
-STATIC void expredir(union node *);
-STATIC void evalpipe(union node *);
-STATIC void evalcommand(union node *, int, struct backcmd *);
-STATIC void prehash(union node *);
+static void evalloop(union node *, int);
+static void evalfor(union node *, int);
+static void evalcase(union node *, int);
+static void evalsubshell(union node *, int);
+static void evalredir(union node *, int);
+static void expredir(union node *);
+static void evalpipe(union node *);
+static void evalcommand(union node *, int, struct backcmd *);
+static void prehash(union node *);
/*
@@ -289,7 +289,7 @@ out:
}
-STATIC void
+static void
evalloop(union node *n, int flags)
{
int status;
@@ -327,7 +327,7 @@ skipping: if (evalskip == SKIPCONT && --skipcount <= 0) {
-STATIC void
+static void
evalfor(union node *n, int flags)
{
struct arglist arglist;
@@ -367,7 +367,7 @@ out:
-STATIC void
+static void
evalcase(union node *n, int flags)
{
union node *cp;
@@ -400,7 +400,7 @@ out:
* Kick off a subshell to evaluate a tree.
*/
-STATIC void
+static void
evalsubshell(union node *n, int flags)
{
struct job *jp;
@@ -425,7 +425,7 @@ evalsubshell(union node *n, int flags)
* Evaluate a redirected compound command.
*/
-STATIC void
+static void
evalredir(union node *n, int flags)
{
struct jmploc jmploc;
@@ -466,7 +466,7 @@ evalredir(union node *n, int flags)
* Compute the names of the files in a redirection list.
*/
-STATIC void
+static void
expredir(union node *n)
{
union node *redir;
@@ -504,7 +504,7 @@ expredir(union node *n)
* of all the rest.)
*/
-STATIC void
+static void
evalpipe(union node *n)
{
struct job *jp;
@@ -617,7 +617,7 @@ out:
* Execute a simple command.
*/
-STATIC void
+static void
evalcommand(union node *cmd, int flags, struct backcmd *backcmd)
{
struct stackmark smark;
@@ -1028,7 +1028,7 @@ out:
* check that the name will not be subject to expansion.
*/
-STATIC void
+static void
prehash(union node *n)
{
struct cmdentry entry;
OpenPOWER on IntegriCloud