summaryrefslogtreecommitdiffstats
path: root/bin/sh/input.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/input.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/input.c')
-rw-r--r--bin/sh/input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c
index bd68339..21a9134 100644
--- a/bin/sh/input.c
+++ b/bin/sh/input.c
@@ -104,8 +104,8 @@ int whichprompt; /* 1 == PS1, 2 == PS2 */
EditLine *el; /* cookie for editline package */
-STATIC void pushfile(void);
-STATIC int preadfd(void);
+static void pushfile(void);
+static int preadfd(void);
#ifdef mkinit
INCLUDE "input.h"
@@ -169,7 +169,7 @@ pgetc(void)
}
-STATIC int
+static int
preadfd(void)
{
int nr;
@@ -468,7 +468,7 @@ setinputstring(char *string, int push)
* adds a new entry to the stack and popfile restores the previous level.
*/
-STATIC void
+static void
pushfile(void)
{
struct parsefile *pf;
OpenPOWER on IntegriCloud