summaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-02-11 09:01:54 +0000
committerJakub Jelinek <jakub@redhat.com>2005-02-11 09:01:54 +0000
commitbf8419b987d24394676108127af8a599f7f7a9fa (patch)
treefdb3f9da34d5c942f223afc6736cd67b433cdf36 /linuxthreads
parentd4f7a4c095da67f295204513c4be90f602daa7b4 (diff)
Updated to fedora-glibc-20050211T0853
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/descr.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 329f2d8b12..4cbcfbb7a3 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-09 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * descr.h (__pthread_find_self, thread_self): Mark as pure
+ instead of const.
+
2005-02-07 Jakub Jelinek <jakub@redhat.com>
* specific.c (pthread_key_delete): If pthread_create has not been
diff --git a/linuxthreads/descr.h b/linuxthreads/descr.h
index bea8b912f7..2b1e49a0ba 100644
--- a/linuxthreads/descr.h
+++ b/linuxthreads/descr.h
@@ -239,9 +239,9 @@ extern int __pthread_nonstandard_stacks;
/* Recover thread descriptor for the current thread */
-extern pthread_descr __pthread_find_self (void) __attribute__ ((const));
+extern pthread_descr __pthread_find_self (void) __attribute__ ((pure));
-static inline pthread_descr thread_self (void) __attribute__ ((const));
+static inline pthread_descr thread_self (void) __attribute__ ((pure));
static inline pthread_descr thread_self (void)
{
#ifdef THREAD_SELF