diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-10 07:16:16 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-10 07:16:16 +0000 |
commit | 6c921847218f6fbff8999f5179f76e9b5ab2cd0e (patch) | |
tree | 33c105cf93568bc71c1452598e7df9b16fe61556 /linuxthreads | |
parent | 0fe86f96d68b8e40cf9bbc52017425e01e35adb2 (diff) | |
download | glibc-6c921847218f6fbff8999f5179f76e9b5ab2cd0e.tar.gz glibc-6c921847218f6fbff8999f5179f76e9b5ab2cd0e.tar.xz glibc-6c921847218f6fbff8999f5179f76e9b5ab2cd0e.zip |
2005-02-09 Daniel Jacobowitz <dan@codesourcery.com>
* descr.h (__pthread_find_self, thread_self): Mark as pure instead of const.
Diffstat (limited to 'linuxthreads')
-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 |