diff options
author | 2015-12-31 23:22:39 +0000 | |
---|---|---|
committer | 2015-12-31 23:22:39 +0000 | |
commit | f4a91e0630d075f51759582faee0fefb17492f2b (patch) | |
tree | 4d093fe1b6971775afdc7863d6ac18c02bbe1f27 | |
parent | regen (diff) | |
download | wireguard-openbsd-f4a91e0630d075f51759582faee0fefb17492f2b.tar.xz wireguard-openbsd-f4a91e0630d075f51759582faee0fefb17492f2b.zip |
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 }; |