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 second 'const' declaration, to hopefull...
details: https://anonhg.NetBSD.org/src/rev/d14229912ad4
branches: trunk
changeset: 339971:d14229912ad4
user: riz <riz%NetBSD.org@localhost>
date: Tue Aug 18 16:54:27 2015 +0000
description:
Remove second 'const' declaration, to hopefully fix clang builds.
diffstat:
lib/libc/time/localtime.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9b9e598f5f8b -r d14229912ad4 lib/libc/time/localtime.c
--- a/lib/libc/time/localtime.c Tue Aug 18 15:54:20 2015 +0000
+++ b/lib/libc/time/localtime.c Tue Aug 18 16:54:27 2015 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index