summaryrefslogtreecommitdiffstats
path: root/bin/sh/redir.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/redir.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/redir.c')
-rw-r--r--bin/sh/redir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/redir.c b/bin/sh/redir.c
index 2239b9f..e83fcaf 100644
--- a/bin/sh/redir.c
+++ b/bin/sh/redir.c
@@ -81,7 +81,7 @@ MKINIT struct redirtab *redirlist;
* background commands, where we want to redirect fd0 to /dev/null only
* if it hasn't already been redirected.
*/
-STATIC int fd0_redirected = 0;
+static int fd0_redirected = 0;
STATIC void openredirect(union node *, char[10 ]);
STATIC int openhere(union node *);
OpenPOWER on IntegriCloud