summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-05-23 05:42:35 +0000
committerjkim <jkim@FreeBSD.org>2013-05-23 05:42:35 +0000
commitb6198521c8334a27c0e3a8202347654ff272895e (patch)
tree3598651de83142df8fc17b6d40fc42a27bbe410d /usr.bin/mklocale
parent68b09f240d29ac65863cfa52dd5ab2c39c09a984 (diff)
downloadFreeBSD-src-b6198521c8334a27c0e3a8202347654ff272895e.zip
FreeBSD-src-b6198521c8334a27c0e3a8202347654ff272895e.tar.gz
Work around build breakages with GCC 4.2.
Reported by: tinderbox
Diffstat (limited to 'usr.bin/mklocale')
-rw-r--r--usr.bin/mklocale/lex.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/mklocale/lex.l b/usr.bin/mklocale/lex.l
index d931df7..08fa54a 100644
--- a/usr.bin/mklocale/lex.l
+++ b/usr.bin/mklocale/lex.l
@@ -47,6 +47,8 @@ __FBSDID("$FreeBSD$");
#include "ldef.h"
#include "y.tab.h"
#include "extern.h"
+
+#define YY_DECL int yylex(void)
%}
ODIGIT [0-7]
OpenPOWER on IntegriCloud