Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/time remove unneeded casts



details:   https://anonhg.NetBSD.org/src/rev/35cd0145538e
branches:  trunk
changeset: 768661:35cd0145538e
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 24 07:51:31 2011 +0000

description:
remove unneeded casts

diffstat:

 lib/libc/time/zdump.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5b0a3007c613 -r 35cd0145538e lib/libc/time/zdump.c
--- a/lib/libc/time/zdump.c     Wed Aug 24 02:51:13 2011 +0000
+++ b/lib/libc/time/zdump.c     Wed Aug 24 07:51:31 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zdump.c,v 1.20 2011/08/16 07:51:46 christos Exp $      */
+/*     $NetBSD: zdump.c,v 1.21 2011/08/24 07:51:31 christos Exp $      */
 /*
 ** This file is in the public domain, so clarified as of
 ** 2009-05-17 by Arthur David Olson.
@@ -7,7 +7,7 @@
 #include <sys/cdefs.h>
 #ifndef lint
 #ifndef NOID
-__RCSID("$NetBSD: zdump.c,v 1.20 2011/08/16 07:51:46 christos Exp $");
+__RCSID("$NetBSD: zdump.c,v 1.21 2011/08/24 07:51:31 christos Exp $");
 #endif /* !defined NOID */
 #endif /* !defined lint */
 
@@ -138,7 +138,7 @@
 #if HAVE_GETTEXT
 #define _(msgid) gettext(msgid)
 #else /* !HAVE_GETTEXT */
-#define _(msgid) __UNCONST(msgid)
+#define _(msgid) msgid
 #endif /* !HAVE_GETTEXT */
 #endif /* !defined _ */
 
@@ -212,7 +212,7 @@
 const char * const     zone;
 {
        register const char *   cp;
-       register char *         wp;
+       register const char *   wp;
 
        if (warned)
                return;



Home | Main Index | Thread Index | Old Index