From 8898f02074fc1c6a461ee19a817b482b9ffca639 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Jan 2012 19:37:35 -0500 Subject: Add const attribute to pthread_equal --- nptl/sysdeps/pthread/pthread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl/sysdeps/pthread') diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h index 05cf7d2f68..ce38cf9d64 100644 --- a/nptl/sysdeps/pthread/pthread.h +++ b/nptl/sysdeps/pthread/pthread.h @@ -266,7 +266,8 @@ extern int pthread_detach (pthread_t __th) __THROW; extern pthread_t pthread_self (void) __THROW __attribute__ ((__const__)); /* Compare two thread identifiers. */ -extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __THROW; +extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) + __THROW __attribute__ ((__const__)); /* Thread attribute handling. */ -- cgit 1.4.1