aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-10 19:37:35 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-10 19:37:35 -0500
commit8898f02074fc1c6a461ee19a817b482b9ffca639 (patch)
tree9127acb3e2136cad59a87d7a1a155d8df8f2c78b /nptl/sysdeps
parent356fa562ec9ac9cb16719396e85ddd044b3c6ebc (diff)
downloadglibc-8898f02074fc1c6a461ee19a817b482b9ffca639.zip
glibc-8898f02074fc1c6a461ee19a817b482b9ffca639.tar.gz
glibc-8898f02074fc1c6a461ee19a817b482b9ffca639.tar.bz2
Add const attribute to pthread_equal
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/pthread/pthread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index 05cf7d2..ce38cf9 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. */