Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/time consistent lint commments
details: https://anonhg.NetBSD.org/src/rev/68f1765f0f98
branches: trunk
changeset: 782296:68f1765f0f98
user: christos <christos%NetBSD.org@localhost>
date: Fri Oct 26 18:30:11 2012 +0000
description:
consistent lint commments
diffstat:
lib/libc/time/difftime.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r a1908730720b -r 68f1765f0f98 lib/libc/time/difftime.c
--- a/lib/libc/time/difftime.c Fri Oct 26 18:29:49 2012 +0000
+++ b/lib/libc/time/difftime.c Fri Oct 26 18:30:11 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: difftime.c,v 1.11 2012/03/20 16:39:08 matt Exp $ */
+/* $NetBSD: difftime.c,v 1.12 2012/10/26 18:30:11 christos Exp $ */
/*
** This file is in the public domain, so clarified as of
@@ -10,7 +10,7 @@
#if 0
static char elsieid[] = "@(#)difftime.c 8.1";
#else
-__RCSID("$NetBSD: difftime.c,v 1.11 2012/03/20 16:39:08 matt Exp $");
+__RCSID("$NetBSD: difftime.c,v 1.12 2012/10/26 18:30:11 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -26,17 +26,17 @@
** (assuming that the larger type has more precision).
** This is the common real-world case circa 2004.
*/
-/* LINTED constant */
+ /* CONSTCOND */
if (sizeof (double) > sizeof (time_t))
return (double) time1 - (double) time0;
-/* LINTED constant */
+ /* CONSTCOND */
if (!TYPE_INTEGRAL(time_t)) {
/*
** time_t is floating.
*/
return time1 - time0;
}
-/* LINTED constant */
+ /* CONSTCOND */
if (!TYPE_SIGNED(time_t)) {
/*
** time_t is integral and unsigned.
@@ -58,7 +58,7 @@
** time1 and time0 have opposite signs.
** Punt if unsigned long is too narrow.
*/
-/* CONSTCOND */
+ /* CONSTCOND */
if (sizeof (unsigned long) < sizeof (time_t))
return (double) time1 - (double) time0;
/*
Home |
Main Index |
Thread Index |
Old Index