Author: peter Date: Wed Jul 3 18:25:27 2013 New Revision: 252582 URL: http://svnweb.freebsd.org/changeset/base/252582
Log: Attempt to deal with a compile failure that shows up with gcc, which has -Werror on. Without this, yylex() is inconsistently or redundantly defined. Modified: head/usr.bin/mkcsmapper/lex.l head/usr.bin/mkesdb/lex.l Modified: head/usr.bin/mkcsmapper/lex.l ============================================================================== --- head/usr.bin/mkcsmapper/lex.l Wed Jul 3 18:04:46 2013 (r252581) +++ head/usr.bin/mkcsmapper/lex.l Wed Jul 3 18:25:27 2013 (r252582) @@ -41,6 +41,8 @@ #include "ldef.h" #include "yacc.h" +#define YY_DECL int yylex(void) + int linenumber = 1; %} %option noinput Modified: head/usr.bin/mkesdb/lex.l ============================================================================== --- head/usr.bin/mkesdb/lex.l Wed Jul 3 18:04:46 2013 (r252581) +++ head/usr.bin/mkesdb/lex.l Wed Jul 3 18:25:27 2013 (r252582) @@ -43,6 +43,8 @@ #include "ldef.h" #include "yacc.h" +#define YY_DECL int yylex(void) + int linenumber = 1; %} %option noinput _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"