diff options
author | peter <peter@FreeBSD.org> | 2013-07-03 18:25:27 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2013-07-03 18:25:27 +0000 |
commit | 1b75ab8af0872a093829d3b4419784e3fcc20022 (patch) | |
tree | f713cfaccb321324101b1aac5c2389e4559cf36d /usr.bin/mkesdb/lex.l | |
parent | 6631f316ab4043f2823b20cc60dae8fdb5615392 (diff) | |
download | FreeBSD-src-1b75ab8af0872a093829d3b4419784e3fcc20022.zip FreeBSD-src-1b75ab8af0872a093829d3b4419784e3fcc20022.tar.gz |
Attempt to deal with a compile failure that shows up with gcc, which
has -Werror on. Without this, yylex() is inconsistently or redundantly
defined.
Diffstat (limited to 'usr.bin/mkesdb/lex.l')
-rw-r--r-- | usr.bin/mkesdb/lex.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/mkesdb/lex.l b/usr.bin/mkesdb/lex.l index 19c5379..c9d9cc1 100644 --- a/usr.bin/mkesdb/lex.l +++ b/usr.bin/mkesdb/lex.l @@ -43,6 +43,8 @@ #include "ldef.h" #include "yacc.h" +#define YY_DECL int yylex(void) + int linenumber = 1; %} %option noinput |