This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 5/5] Remove const attribute on get_log2
- From: Peter Collingbourne <pcc at google dot com>
- To: libc-alpha at sourceware dot org
- Cc: Peter Collingbourne <pcc at google dot com>
- Date: Mon, 13 May 2013 08:36:12 -0700
- Subject: [PATCH 5/5] Remove const attribute on get_log2
- References: <1368459372-2415-1-git-send-email-pcc at google dot com>
This function is not const, as it can modify log2_m and log2_m_inited.
2013-05-13 Peter Collingbourne <pcc@google.com>
* math/atest-exp2.c (get_log2): Remove const attribute.
---
math/atest-exp2.c | 1 -
1 file changed, 1 deletion(-)
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)
{
--
1.8.2.1