diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2015-09-18 20:27:20 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2015-09-18 20:42:54 +0100 |
commit | 6565fcb6e189d67b5a3f321453daebb805056d73 (patch) | |
tree | 08ad6bf3bc0d98f1a8a49195f7739a201c70cb14 /timezone | |
parent | 94afa0a5f38315a44cf4ec36d3027e103e16cfc0 (diff) | |
download | glibc-6565fcb6e189d67b5a3f321453daebb805056d73.zip glibc-6565fcb6e189d67b5a3f321453daebb805056d73.tar.gz glibc-6565fcb6e189d67b5a3f321453daebb805056d73.tar.bz2 |
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.
Diffstat (limited to 'timezone')
-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 4e8f4ae..ed19e06 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. |