summaryrefslogtreecommitdiffstats
path: root/bin/sh/redir.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/redir.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/redir.c')
-rw-r--r--bin/sh/redir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sh/redir.c b/bin/sh/redir.c
index e83fcaf..f3ad3af 100644
--- a/bin/sh/redir.c
+++ b/bin/sh/redir.c
@@ -83,8 +83,8 @@ MKINIT struct redirtab *redirlist;
*/
static int fd0_redirected = 0;
-STATIC void openredirect(union node *, char[10 ]);
-STATIC int openhere(union node *);
+static void openredirect(union node *, char[10 ]);
+static int openhere(union node *);
/*
@@ -148,7 +148,7 @@ redirect(union node *redir, int flags)
}
-STATIC void
+static void
openredirect(union node *redir, char memory[10])
{
struct stat sb;
@@ -240,7 +240,7 @@ movefd:
* the pipe without forking.
*/
-STATIC int
+static int
openhere(union node *redir)
{
int pip[2];
OpenPOWER on IntegriCloud