diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2015-09-18 20:27:20 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-06-02 13:17:24 +0200 |
commit | b5714a32f8d81c1e9834af8a4e12572e8d59195e (patch) | |
tree | 98b15837aca113300df1039eaa37d69e7f219a9e /timezone/private.h | |
parent | 861a38359832548ffed4e38dc5f7fecd0a5a0264 (diff) | |
download | glibc-b5714a32f8d81c1e9834af8a4e12572e8d59195e.tar glibc-b5714a32f8d81c1e9834af8a4e12572e8d59195e.tar.gz glibc-b5714a32f8d81c1e9834af8a4e12572e8d59195e.tar.bz2 glibc-b5714a32f8d81c1e9834af8a4e12572e8d59195e.zip |
Fix several build failures with GCC6 due to unused static variables.
2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
* resolv/base64.c (rcsid): Remove unused static.
* sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
static. (tqpi1): Likewise.
* sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
* sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
* sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
* sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
* sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
* sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
* timezone/private.h (time_t_min): Likewise. (time_t_max):
Likewise.
(cherry picked from commit 6565fcb6e189d67b5a3f321453daebb805056d73)
Diffstat (limited to 'timezone/private.h')
-rw-r--r-- | timezone/private.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/timezone/private.h b/timezone/private.h index 4e8f4ae7bc..ed19e066d9 100644 --- a/timezone/private.h +++ b/timezone/private.h @@ -326,16 +326,6 @@ const char * scheck(const char * string, const char * format); #define TYPE_SIGNED(type) (((type) -1) < 0) #endif /* !defined TYPE_SIGNED */ -/* The minimum and maximum finite time values. */ -static time_t const time_t_min = - (TYPE_SIGNED(time_t) - ? (time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1) - : 0); -static time_t const time_t_max = - (TYPE_SIGNED(time_t) - ? - (~ 0 < 0) - ((time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1)) - : -1); - #ifndef INT_STRLEN_MAXIMUM /* ** 302 / 1000 is log10(2.0) rounded up. |