diff options
| author | christos <christos@NetBSD.org> | 2012-10-26 18:30:11 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2012-10-26 18:30:11 +0000 |
| commit | 3d12d240d902ee7d6a6e62300a0fc696b6e8d0f3 (patch) | |
| tree | 57c4607393b5e251b2f8f0c2da931bdb4b5ad739 /lib/libc | |
| parent | a596522d8870eda6156f8c010095331ac6cd734e (diff) | |
consistent lint commments
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/time/difftime.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/time/difftime.c b/lib/libc/time/difftime.c index 471d6a1a489..4508d58fe5d 100644 --- a/lib/libc/time/difftime.c +++ b/lib/libc/time/difftime.c @@ -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 @@ difftime(const time_t time1, const time_t time0) ** (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 @@ difftime(const time_t time1, const time_t time0) ** 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; /* |
