summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mklocale/Makefile1
-rw-r--r--usr.bin/mklocale/yacc.y6
2 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/mklocale/Makefile b/usr.bin/mklocale/Makefile
index 777e045..9e23243 100644
--- a/usr.bin/mklocale/Makefile
+++ b/usr.bin/mklocale/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
PROG= mklocale
+WARNS?= 2
SRCS= yacc.y lex.l y.tab.h
CFLAGS+= -I. -I${.CURDIR}
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y
index b1a6979..f1c1c79 100644
--- a/usr.bin/mklocale/yacc.y
+++ b/usr.bin/mklocale/yacc.y
@@ -72,9 +72,9 @@ rune_map types = { { 0 }, NULL };
_RuneLocale new_locale = { "", "", NULL, NULL, 0, {}, {}, {},
{0, NULL}, {0, NULL}, {0, NULL}, NULL, 0 };
-void set_map __P((rune_map *, rune_list *, unsigned long));
-void set_digitmap __P((rune_map *, rune_list *));
-void add_map __P((rune_map *, rune_list *, unsigned long));
+void set_map(rune_map *, rune_list *, unsigned long);
+void set_digitmap(rune_map *, rune_list *);
+void add_map(rune_map *, rune_list *, unsigned long);
%}
%union {
OpenPOWER on IntegriCloud