From c275398b6bd271c8ecd71ae0553cd1317708eb08 Mon Sep 17 00:00:00 2001 From: Roland McGrath <roland@gnu.org> Date: Wed, 16 Feb 2005 11:27:25 +0000 Subject: [PATCH] 2005-02-09 Daniel Jacobowitz <dan@codesourcery.com> [BZ #740] * 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