From: Roland McGrath Date: Wed, 16 Feb 2005 11:27:25 +0000 (+0000) Subject: 2005-02-09 Daniel Jacobowitz X-Git-Tag: cvs/fedora-glibc-2_3-20050216T1256~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c275398b6bd271c8ecd71ae0553cd1317708eb08;p=thirdparty%2Fglibc.git 2005-02-09 Daniel Jacobowitz [BZ #740] * descr.h (__pthread_find_self, thread_self): Mark as pure instead of const. --- diff --git a/linuxthreads/descr.h b/linuxthreads/descr.h index bea8b912f72..2b1e49a0bad 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