From: Peter Collingbourne Date: Mon, 13 May 2013 15:36:12 +0000 (-0700) Subject: Remove const attribute on get_log2 X-Git-Tag: upstream/2.20~2072 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f137ff13835e2ac6f0d85f37b7ff32d134c9de18;p=platform%2Fupstream%2Flinaro-glibc.git Remove const attribute on get_log2 This function is not const, as it can modify log2_m and log2_m_inited. --- diff --git a/ChangeLog b/ChangeLog index a22b803..8a846bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-05-13 Peter Collingbourne + + * math/atest-exp2.c (get_log2): Remove const attribute. + 2013-05-15 Joseph Myers * math/libm-test.inc (struct test_f_l_data): New type. diff --git a/math/atest-exp2.c b/math/atest-exp2.c index 20836ca..694237d 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) {