aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/flt-32/e_log10f.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2015-09-18 20:27:20 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2015-09-18 20:42:54 +0100
commit6565fcb6e189d67b5a3f321453daebb805056d73 (patch)
tree08ad6bf3bc0d98f1a8a49195f7739a201c70cb14 /sysdeps/ieee754/flt-32/e_log10f.c
parent94afa0a5f38315a44cf4ec36d3027e103e16cfc0 (diff)
downloadglibc-6565fcb6e189d67b5a3f321453daebb805056d73.tar
glibc-6565fcb6e189d67b5a3f321453daebb805056d73.tar.gz
glibc-6565fcb6e189d67b5a3f321453daebb805056d73.tar.bz2
glibc-6565fcb6e189d67b5a3f321453daebb805056d73.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.
Diffstat (limited to 'sysdeps/ieee754/flt-32/e_log10f.c')
-rw-r--r--sysdeps/ieee754/flt-32/e_log10f.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/ieee754/flt-32/e_log10f.c b/sysdeps/ieee754/flt-32/e_log10f.c
index 96f0e81c52..1daeef7107 100644
--- a/sysdeps/ieee754/flt-32/e_log10f.c
+++ b/sysdeps/ieee754/flt-32/e_log10f.c
@@ -22,8 +22,6 @@ ivln10 = 4.3429449201e-01, /* 0x3ede5bd9 */
log10_2hi = 3.0102920532e-01, /* 0x3e9a2080 */
log10_2lo = 7.9034151668e-07; /* 0x355427db */
-static const float zero = 0.0;
-
float
__ieee754_log10f(float x)
{