Remove const attribute on get_log2
This function is not const, as it can modify log2_m and log2_m_inited.
This commit is contained in:
parent
c5d9b39ce6
commit
f137ff1383
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue