]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove const attribute on get_log2
authorPeter Collingbourne <pcc@google.com>
Mon, 13 May 2013 15:36:12 +0000 (08:36 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 15 May 2013 21:27:53 +0000 (14:27 -0700)
This function is not const, as it can modify log2_m and log2_m_inited.

ChangeLog
math/atest-exp2.c

index a22b803bf151823ebe9e69717c16cff3d6e64165..8a846bc78ea39fa6dee07141bb5cdbf5ec3fd0e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-13  Peter Collingbourne  <pcc@google.com>
+
+       * math/atest-exp2.c (get_log2): Remove const attribute.
+
 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
 
        * math/libm-test.inc (struct test_f_l_data): New type.
index 20836ca0dccda55a8c74857192c28500d5c25cd3..694237d79f6844c64f0406a8e04e1e367d46f1b0 100644 (file)
@@ -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)
 {