Module Name: src
Committed By: christos
Date: Fri Oct 26 18:29:49 UTC 2012
Modified Files:
src/lib/libc/time: asctime.c
Log Message:
remove unused constant
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/time/asctime.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/asctime.c
diff -u src/lib/libc/time/asctime.c:1.16 src/lib/libc/time/asctime.c:1.17
--- src/lib/libc/time/asctime.c:1.16 Tue Oct 23 20:10:03 2012
+++ src/lib/libc/time/asctime.c Fri Oct 26 14:29:49 2012
@@ -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 @@ static char buf_asctime[MAX_ASCTIME_BUF_
** 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)
{