mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
357a8c727e
commit
8d03543c79
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue