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 unused constant
details: https://anonhg.NetBSD.org/src/rev/a1908730720b
branches: trunk
changeset: 782295:a1908730720b
user: christos <christos%NetBSD.org@localhost>
date: Fri Oct 26 18:29:49 2012 +0000
description:
remove unused constant
diffstat:
lib/libc/time/asctime.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diffs (34 lines):
diff -r fd95f33577ba -r a1908730720b lib/libc/time/asctime.c
--- a/lib/libc/time/asctime.c Fri Oct 26 18:29:34 2012 +0000
+++ b/lib/libc/time/asctime.c Fri Oct 26 18:29:49 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asctime.c,v 1.16 2012/10/24 00:10:03 christos Exp $ */
+/* $NetBSD: asctime.c,v 1.17 2012/10/26 18:29:49 christos Exp $ */
/*
** This file is in the public domain, so clarified as of
@@ -16,7 +16,7 @@
#if 0
static char elsieid[] = "@(#)asctime.c 8.5";
#else
-__RCSID("$NetBSD: asctime.c,v 1.16 2012/10/24 00:10:03 christos Exp $");
+__RCSID("$NetBSD: asctime.c,v 1.17 2012/10/26 18:29:49 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -84,15 +84,6 @@
** A la ISO/IEC 9945-1, ANSI/IEEE Std 1003.1, 2004 Edition.
*/
-/*
-** Big enough for something such as
-** ??? ???-2147483648 -2147483648:-2147483648:-2147483648 -2147483648\n
-** (two three-character abbreviations, five strings denoting integers,
-** three explicit spaces, two explicit colons, a newline,
-** and a trailing ASCII nul).
-*/
-#define ASCTIME_BUFLEN (3 * 2 + 5 * INT_STRLEN_MAXIMUM(int) + 3 + 2 + 1 + 1)
-
char *
asctime_r(const struct tm *timeptr, char *buf)
{
Home |
Main Index |
Thread Index |
Old Index