Have yacc use a prototype for yygrowstack(void) on ANSI compilers.
This fixes a gcc warning with -Wmissing-prototypes.
This commit is contained in:
parent
a1acd5d9dc
commit
589564befb
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user