summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/ChangeLog5
-rw-r--r--libc/posix/regex_internal.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libc/ChangeLog b/libc/ChangeLog
index e81ffc170..7a534b473 100644
--- a/libc/ChangeLog
+++ b/libc/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-30 Jakub Jelinek <jakub@redhat.com>
+
+ * posix/regex_internal.c (re_string_fetch_byte_case): Remove
+ pure attribute.
+
2011-12-23 Ulrich Drepper <drepper@gmail.com>
* version.h (RELEASE): Bump for 2.15 release.
diff --git a/libc/posix/regex_internal.c b/libc/posix/regex_internal.c
index 6b1981a5f..63b510517 100644
--- a/libc/posix/regex_internal.c
+++ b/libc/posix/regex_internal.c
@@ -869,7 +869,7 @@ re_string_peek_byte_case (const re_string_t *pstr, int idx)
}
static unsigned char
-internal_function __attribute ((pure))
+internal_function
re_string_fetch_byte_case (re_string_t *pstr)
{
if (BE (!pstr->mbs_allocated, 1))