summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>2000-04-20 09:49:16 +0000
committercracauer <cracauer@FreeBSD.org>2000-04-20 09:49:16 +0000
commit72606bd24b5a939819d9dadc84fc7ec891cff643 (patch)
tree077ee4ffbe0c4417f9d91cded1a1d7cc7b74be7a /bin/sh/parser.c
parent582b546eb7cf75ea34c125f7893cf78079c7a160 (diff)
downloadFreeBSD-src-72606bd24b5a939819d9dadc84fc7ec891cff643.zip
FreeBSD-src-72606bd24b5a939819d9dadc84fc7ec891cff643.tar.gz
Fix warnings, some of them serious because sh violated name
spaces reserved by the header files it includes. mkinit.c still produces C code with redundant declarations, although they are more harmless since they automatically derived from the right places.
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index 2aa2665..9b141cc 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -59,6 +59,7 @@ static const char rcsid[] =
#include "mystring.h"
#include "alias.h"
#include "show.h"
+#include "eval.h"
#ifndef NO_HISTORY
#include "myhistedit.h"
#endif
@@ -678,8 +679,6 @@ peektoken() {
return (t);
}
-STATIC int xxreadtoken();
-
STATIC int
readtoken() {
int t;
OpenPOWER on IntegriCloud