mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 23:28:37 -04:00
Attempt to deal with a compile failure that shows up with gcc, which
has -Werror on. Without this, yylex() is inconsistently or redundantly defined.
This commit is contained in:
parent
bcafe87486
commit
33e7ec3e83
2 changed files with 4 additions and 0 deletions
|
|
@ -41,6 +41,8 @@
|
|||
#include "ldef.h"
|
||||
#include "yacc.h"
|
||||
|
||||
#define YY_DECL int yylex(void)
|
||||
|
||||
int linenumber = 1;
|
||||
%}
|
||||
%option noinput
|
||||
|
|
|
|||
|
|
@ -43,6 +43,8 @@
|
|||
#include "ldef.h"
|
||||
#include "yacc.h"
|
||||
|
||||
#define YY_DECL int yylex(void)
|
||||
|
||||
int linenumber = 1;
|
||||
%}
|
||||
%option noinput
|
||||
|
|
|
|||
Loading…
Reference in a new issue