summaryrefslogtreecommitdiffstats
path: root/lib/liby
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
committerjkh <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
commitc4d4a99d31762beef936f34571330923e9300da9 (patch)
treec116431af8e1f042b25e0f70c63c437cf7ff8d63 /lib/liby
parent6657f01bfd009bbf4ec0481a17712259abf8ea77 (diff)
downloadFreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.zip
FreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.tar.gz
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Diffstat (limited to 'lib/liby')
-rw-r--r--lib/liby/main.c3
-rw-r--r--lib/liby/yyerror.c1
2 files changed, 3 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());
}
diff --git a/lib/liby/yyerror.c b/lib/liby/yyerror.c
index 6465e23..b21a7a8 100644
--- a/lib/liby/yyerror.c
+++ b/lib/liby/yyerror.c
@@ -37,6 +37,7 @@ static char sccsid[] = "@(#)yyerror.c 8.1 (Berkeley) 6/4/93";
#include <stdio.h>
+int
yyerror(msg)
char *msg;
{
OpenPOWER on IntegriCloud