summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-07-25 19:48:15 +0000
committerjilles <jilles@FreeBSD.org>2013-07-25 19:48:15 +0000
commit45d56acf59e57b291bf5e8cce6a222057bb42c8e (patch)
treea72f4141652352d8b02ae8cb5f9841a2879aef50 /bin/sh/parser.c
parentd1aa5826fa2ff69ce857b49c504480a4a0c39f3c (diff)
downloadFreeBSD-src-45d56acf59e57b291bf5e8cce6a222057bb42c8e.zip
FreeBSD-src-45d56acf59e57b291bf5e8cce6a222057bb42c8e.tar.gz
sh: Remove #define MKINIT.
MKINIT only served for the removed mkinit. Many variables can be static now.
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index acb59df..282cbaef 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -96,9 +96,9 @@ static struct heredoc *heredoclist; /* list of here documents to read */
static int doprompt; /* if set, prompt the user */
static int needprompt; /* true if interactive and at start of line */
static int lasttoken; /* last token read */
-MKINIT int tokpushback; /* last token pushed back */
+int tokpushback; /* last token pushed back */
static char *wordtext; /* text of last word returned by readtoken */
-MKINIT int checkkwd; /* 1 == check for kwds, 2 == also eat newlines */
+static int checkkwd; /* 1 == check for kwds, 2 == also eat newlines */
static struct nodelist *backquotelist;
static union node *redirnode;
static struct heredoc *heredoc;
OpenPOWER on IntegriCloud