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 2001-02-19 01:10:01 +00:00
parent a1acd5d9dc
commit 589564befb

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
};