mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
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:
committed by
Richard Henderson
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>
|
2013-05-15 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* math/libm-test.inc (struct test_f_l_data): New type.
|
* 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);
|
<< (FRAC - i * 4 - 4) % mpbpl);
|
||||||
}
|
}
|
||||||
|
|
||||||
static mp_limb_t *get_log2(void) __attribute__((const));
|
|
||||||
static mp_limb_t *
|
static mp_limb_t *
|
||||||
get_log2(void)
|
get_log2(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user