mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72676
@ -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