summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkcsmapper
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2013-07-03 18:25:27 +0000
committerpeter <peter@FreeBSD.org>2013-07-03 18:25:27 +0000
commit1b75ab8af0872a093829d3b4419784e3fcc20022 (patch)
treef713cfaccb321324101b1aac5c2389e4559cf36d /usr.bin/mkcsmapper
parent6631f316ab4043f2823b20cc60dae8fdb5615392 (diff)
downloadFreeBSD-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/mkcsmapper')
-rw-r--r--usr.bin/mkcsmapper/lex.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/mkcsmapper/lex.l b/usr.bin/mkcsmapper/lex.l
index 4ba7fc4..33b7f8e 100644
--- a/usr.bin/mkcsmapper/lex.l
+++ b/usr.bin/mkcsmapper/lex.l
@@ -41,6 +41,8 @@
#include "ldef.h"
#include "yacc.h"
+#define YY_DECL int yylex(void)
+
int linenumber = 1;
%}
%option noinput
OpenPOWER on IntegriCloud