Module Name: src
Committed By: riz
Date: Tue Aug 18 16:54:27 UTC 2015
Modified Files:
src/lib/libc/time: localtime.c
Log Message:
Remove second 'const' declaration, to hopefully fix clang builds.
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/lib/libc/time/localtime.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/localtime.c
diff -u src/lib/libc/time/localtime.c:1.96 src/lib/libc/time/localtime.c:1.97
--- src/lib/libc/time/localtime.c:1.96 Thu Aug 13 11:21:18 2015
+++ src/lib/libc/time/localtime.c Tue Aug 18 16:54:27 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: localtime.c,v 1.96 2015/08/13 11:21:18 christos Exp $ */
+/* $NetBSD: localtime.c,v 1.97 2015/08/18 16:54:27 riz Exp $ */
/*
** This file is in the public domain, so clarified as of
@@ -10,7 +10,7 @@
#if 0
static char elsieid[] = "@(#)localtime.c 8.17";
#else
-__RCSID("$NetBSD: localtime.c,v 1.96 2015/08/13 11:21:18 christos Exp $");
+__RCSID("$NetBSD: localtime.c,v 1.97 2015/08/18 16:54:27 riz Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -1581,7 +1581,7 @@ leaps_thru_end_of(const int y)
static struct tm *
timesub(const time_t *timep, int_fast32_t offset,
- const struct state const *sp, struct tm *tmp)
+ const struct state *sp, struct tm *tmp)
{
const struct lsinfo * lp;
time_t tdays;