summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-09-05 20:18:59 +0000
committersjg <sjg@FreeBSD.org>2013-09-05 20:18:59 +0000
commit62bb1062226d3ce6a2350808256a25508978352d (patch)
tree22b131dceb13c3df96da594fbaadb693504797c7 /usr.bin/mklocale
parent72ab90509b3a51ab361bf710338f2ef44a4e360d (diff)
parent04932445481c2cb89ff69a83b961bdef3d64757e (diff)
downloadFreeBSD-src-62bb1062226d3ce6a2350808256a25508978352d.zip
FreeBSD-src-62bb1062226d3ce6a2350808256a25508978352d.tar.gz
Merge from head
Diffstat (limited to 'usr.bin/mklocale')
-rw-r--r--usr.bin/mklocale/Makefile2
-rw-r--r--usr.bin/mklocale/lex.l2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/mklocale/Makefile b/usr.bin/mklocale/Makefile
index e75fe99..83850c4 100644
--- a/usr.bin/mklocale/Makefile
+++ b/usr.bin/mklocale/Makefile
@@ -5,4 +5,6 @@ PROG= mklocale
SRCS= yacc.y lex.l y.tab.h
CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale
+NO_WMISSING_VARIABLE_DECLARATIONS=
+
.include <bsd.prog.mk>
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