Module Name: src Committed By: christos Date: Wed Aug 24 07:51:32 UTC 2011
Modified Files: src/lib/libc/time: zdump.c Log Message: remove unneeded casts To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/time/zdump.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/time/zdump.c diff -u src/lib/libc/time/zdump.c:1.20 src/lib/libc/time/zdump.c:1.21 --- src/lib/libc/time/zdump.c:1.20 Tue Aug 16 03:51:46 2011 +++ src/lib/libc/time/zdump.c Wed Aug 24 03:51:31 2011 @@ -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;