summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-07-14 18:16:06 +0000
committeralfred <alfred@FreeBSD.org>2002-07-14 18:16:06 +0000
commit6241f405088eef3a65f8cf3a4711d3e780ff94db (patch)
treef09a1d1023714669fc716f2f65c297a63443f3a7 /usr.bin/mklocale
parent136c0ea4b28e10a8ac21890ca3efe6b268d18d1e (diff)
downloadFreeBSD-src-6241f405088eef3a65f8cf3a4711d3e780ff94db.zip
FreeBSD-src-6241f405088eef3a65f8cf3a4711d3e780ff94db.tar.gz
WARNS=2, de-__P()
Diffstat (limited to 'usr.bin/mklocale')
-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