Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/mklocale Make this build with WARNS=2.



details:   https://anonhg.NetBSD.org/src/rev/aa777eaf5a95
branches:  trunk
changeset: 502965:aa777eaf5a95
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jan 28 00:28:01 2001 +0000

description:
Make this build with WARNS=2.

diffstat:

 usr.bin/mklocale/Makefile |  4 ++--
 usr.bin/mklocale/yacc.y   |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r 7fa8dde61e17 -r aa777eaf5a95 usr.bin/mklocale/Makefile
--- a/usr.bin/mklocale/Makefile Sat Jan 27 23:48:32 2001 +0000
+++ b/usr.bin/mklocale/Makefile Sun Jan 28 00:28:01 2001 +0000
@@ -1,8 +1,8 @@
 #      @(#)Makefile    8.1 (Berkeley) 6/7/93
-#      $NetBSD: Makefile,v 1.4 2001/01/11 14:20:18 enami Exp $
+#      $NetBSD: Makefile,v 1.5 2001/01/28 00:28:01 thorpej Exp $
 #      $FreeBSD: src/usr.bin/mklocale/Makefile,v 1.19.2.1 1999/08/29 15:31:03 peter Exp $
 
-WARNS?=        1
+WARNS?=        2
 PROG=  mklocale
 SRCS=  yacc.y lex.l #y.tab.h
 CPPFLAGS+=-I${.OBJDIR} # for y.tab.h
diff -r 7fa8dde61e17 -r aa777eaf5a95 usr.bin/mklocale/yacc.y
--- a/usr.bin/mklocale/yacc.y   Sat Jan 27 23:48:32 2001 +0000
+++ b/usr.bin/mklocale/yacc.y   Sun Jan 28 00:28:01 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: yacc.y,v 1.3 2000/12/22 06:04:21 itojun Exp $  */
+/*     $NetBSD: yacc.y,v 1.4 2001/01/28 00:28:01 thorpej Exp $ */
 
 %{
 /*-
@@ -43,7 +43,7 @@
 static char sccsid[] = "@(#)yacc.y     8.1 (Berkeley) 6/6/93";
 static char rcsid[] = "$FreeBSD$";
 #else
-__RCSID("$NetBSD: yacc.y,v 1.3 2000/12/22 06:04:21 itojun Exp $");
+__RCSID("$NetBSD: yacc.y,v 1.4 2001/01/28 00:28:01 thorpej Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -63,7 +63,7 @@
 
 #include "ldef.h"
 
-char   *locale_file = "<stdout>";
+const char     *locale_file = "<stdout>";
 
 rune_map       maplower = { { 0, }, };
 rune_map       mapupper = { { 0, }, };



Home | Main Index | Thread Index | Old Index