summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-07-14 18:16:06 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-07-14 18:16:06 +0000
commit12c9f2fd760ecbe973ed3bd974d19a1875d2d61c (patch)
treef09a1d1023714669fc716f2f65c297a63443f3a7
parentb3afd20d9abdc48652a31062461f5a29118a3cb3 (diff)
Notes
-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 777e045733d7..9e23243d9147 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 b1a6979f1e54..f1c1c795600f 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 {