Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/time lint knows about _Generic
details: https://anonhg.NetBSD.org/src/rev/8ba257cb97ac
branches: trunk
changeset: 348746:8ba257cb97ac
user: christos <christos%NetBSD.org@localhost>
date: Sat Nov 05 01:08:58 2016 +0000
description:
lint knows about _Generic
diffstat:
lib/libc/time/private.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b3b861d800a1 -r 8ba257cb97ac lib/libc/time/private.h
--- a/lib/libc/time/private.h Fri Nov 04 20:44:57 2016 +0000
+++ b/lib/libc/time/private.h Sat Nov 05 01:08:58 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: private.h,v 1.48 2016/11/04 19:41:53 christos Exp $ */
+/* $NetBSD: private.h,v 1.49 2016/11/05 01:08:58 christos Exp $ */
#ifndef PRIVATE_H
#define PRIVATE_H
@@ -541,7 +541,7 @@
/* The minimum and maximum finite time values. This implementation
assumes no padding if time_t is signed and either the compiler is
pre-C11 or time_t is not one of the standard signed integer types. */
-#if (201112 <= __STDC_VERSION__) && !defined(__lint__)
+#if 201112 <= __STDC_VERSION__
static time_t const time_t_min
= (TYPE_SIGNED(time_t)
? _Generic((time_t) 0,
Home |
Main Index |
Thread Index |
Old Index