mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
Add const attribute to pthread_equal
This commit is contained in:
parent
356fa562ec
commit
8898f02074
@ -1,5 +1,7 @@
|
||||
2012-01-10 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/pthread/pthread.h: Add const attribute to pthread_equal.
|
||||
|
||||
* pthreadP.h: Add noreturn to __pthread_exit.
|
||||
* sysdeps/pthread/pthread-functions.h: Likewise for ptr___pthread_exit.
|
||||
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user