summaryrefslogtreecommitdiffstats
path: root/lib/liby/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/liby/main.c')
-rw-r--r--lib/liby/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/liby/main.c b/lib/liby/main.c
index cd288e0..4b4e67a 100644
--- a/lib/liby/main.c
+++ b/lib/liby/main.c
@@ -35,7 +35,8 @@
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/4/93";
#endif /* not lint */
-main()
+int
+main(void)
{
exit(yyparse());
}
OpenPOWER on IntegriCloud