about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2013-05-13 08:36:12 -0700
committerRichard Henderson <rth@twiddle.net>2013-05-15 14:27:53 -0700
commitf137ff13835e2ac6f0d85f37b7ff32d134c9de18 (patch)
tree5de1fc99bc7e9100863e0be2b5cde901166faa12 /math
parentc5d9b39ce6ea44f97ea47ee7c0494a7bb01f4330 (diff)
downloadglibc-f137ff13835e2ac6f0d85f37b7ff32d134c9de18.tar.gz
glibc-f137ff13835e2ac6f0d85f37b7ff32d134c9de18.tar.xz
glibc-f137ff13835e2ac6f0d85f37b7ff32d134c9de18.zip
Remove const attribute on get_log2
This function is not const, as it can modify log2_m and log2_m_inited.
Diffstat (limited to 'math')
-rw-r--r--math/atest-exp2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/math/atest-exp2.c b/math/atest-exp2.c
index 20836ca0dc..694237d79f 100644
--- a/math/atest-exp2.c
+++ b/math/atest-exp2.c
@@ -77,7 +77,6 @@ read_mpn_hex(mp_limb_t *x, const char *str)
  				      << (FRAC - i * 4 - 4) % mpbpl);
 }
 
-static mp_limb_t *get_log2(void) __attribute__((const));
 static mp_limb_t *
 get_log2(void)
 {