diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-16 11:27:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-16 11:27:25 +0000 |
commit | c275398b6bd271c8ecd71ae0553cd1317708eb08 (patch) | |
tree | 2c838016efe6256069b771e143d493f1205bf592 | |
parent | e58ebd8e2dc45627440430c61e65dc9ca6e9f84c (diff) |
2005-02-09 Daniel Jacobowitz <dan@codesourcery.com>
[BZ #740]
* descr.h (__pthread_find_self, thread_self): Mark as pure
instead of const.
-rw-r--r-- | linuxthreads/descr.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |