Module Name: src
Committed By: christos
Date: Sat Nov 5 01:08:58 UTC 2016
Modified Files:
src/lib/libc/time: private.h
Log Message:
lint knows about _Generic
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/lib/libc/time/private.h
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/private.h
diff -u src/lib/libc/time/private.h:1.48 src/lib/libc/time/private.h:1.49
--- src/lib/libc/time/private.h:1.48 Fri Nov 4 15:41:53 2016
+++ src/lib/libc/time/private.h Fri Nov 4 21:08:58 2016
@@ -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 @@ time_t time2posix_z(timezone_t __restric
/* 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,