Have yacc use a prototype for yygrowstack(void) on ANSI compilers.

This fixes a gcc warning with -Wmissing-prototypes.
This commit is contained in:
Peter Wemm 2001-02-19 01:10:01 +00:00
parent 357a8c727e
commit 8d03543c79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72676

View File

@ -67,7 +67,11 @@ char *banner[] =
"#define yyclearin (yychar=(YYEMPTY))",
"#define yyerrok (yyerrflag=0)",
"#define YYRECOVERING() (yyerrflag!=0)",
"#if defined(__cplusplus) || __STDC__",
"static int yygrowstack(void);",
"#else",
"static int yygrowstack();",
"#endif",
0
};