]> sourceware.org Git - glibc.git/commitdiff
2005-02-09 Daniel Jacobowitz <dan@codesourcery.com>
authorRoland McGrath <roland@gnu.org>
Thu, 10 Feb 2005 07:16:16 +0000 (07:16 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 10 Feb 2005 07:16:16 +0000 (07:16 +0000)
* descr.h (__pthread_find_self, thread_self): Mark as pure
instead of const.

linuxthreads/descr.h

index bea8b912f725de524e05dc711686026adcc085ce..2b1e49a0badd9eeb2da47ea21f5327b97890e3c2 100644 (file)
@@ -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
This page took 0.042569 seconds and 5 git commands to generate.