From 6c921847218f6fbff8999f5179f76e9b5ab2cd0e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 10 Feb 2005 07:16:16 +0000 Subject: [PATCH] 2005-02-09 Daniel Jacobowitz * descr.h (__pthread_find_self, thread_self): Mark as pure instead of const. --- linuxthreads/descr.h | 4 ++-- 1 file 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