2005-02-09 Daniel Jacobowitz <dan@codesourcery.com>

* descr.h (__pthread_find_self, thread_self): Mark as pure
	instead of const.
This commit is contained in:
Roland McGrath 2005-02-10 07:16:16 +00:00
parent 0fe86f96d6
commit 6c92184721
1 changed files with 2 additions and 2 deletions

View 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