diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-12-31 23:22:40 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-12-31 23:22:40 +0000 |
commit | d96eca3fba6c111da9303d022e3ef8f72f22c3ff (patch) | |
tree | e7c14d9bb61682fef362e96ed2cb09fa1c99208a | |
parent | 94c743ced6149c549682bbb74481929ee684994a (diff) |
Declare yyparse() so the generated code is safe with
-Werror-implicit-function-declaration
ok millert@
-rw-r--r-- | usr.bin/yacc/skeleton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c index 746ba8ecaa9..3f0ce924b2b 100644 --- a/usr.bin/yacc/skeleton.c +++ b/usr.bin/yacc/skeleton.c @@ -1,4 +1,4 @@ -/* $OpenBSD: skeleton.c,v 1.38 2015/12/30 17:16:47 mmcc Exp $ */ +/* $OpenBSD: skeleton.c,v 1.39 2015/12/31 23:22:39 guenther Exp $ */ /* $NetBSD: skeleton.c,v 1.10 1996/03/25 00:36:18 mrg Exp $ */ /* @@ -109,6 +109,7 @@ char *header[] = "short *yysslim;", "YYSTYPE *yyvs;", "unsigned int yystacksize;", + "int yyparse(void);", NULL }; |