aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-05-24 09:50:57 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-05-24 09:50:57 +0000
commitcb6215110287af363356285d29e381147094b66a (patch)
tree3b1d8b2ca4ad583da5f297ba136678a5010bc56d
parentf269dc02de0b29268a9b6279b2e0a6f21fd611b3 (diff)
downloadsrc-cb6215110287af363356285d29e381147094b66a.tar.gz
src-cb6215110287af363356285d29e381147094b66a.zip
Include <stdlib.h> for exit() and add a prototype for yyparse().
Approved by: das (mentor)
Notes
Notes: svn path=/head/; revision=129645
-rw-r--r--lib/liby/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/liby/main.c b/lib/liby/main.c
index 398f2ae53cef..c2955c407369 100644
--- a/lib/liby/main.c
+++ b/lib/liby/main.c
@@ -38,6 +38,10 @@ __FBSDID("$FreeBSD$");
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/4/93";
#endif /* not lint */
+#include <stdlib.h>
+
+int yyparse(void);
+
int
main(void)
{