diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-10 19:02:21 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-10 19:02:21 -0500 |
commit | 356fa562ec9ac9cb16719396e85ddd044b3c6ebc (patch) | |
tree | 22cb286524cbbd24f2e33068036d91d2f49953f1 /nptl/pthreadP.h | |
parent | a0bfc9c78fcd26f81c62ac34f9085b6319a8099b (diff) | |
download | glibc-356fa562ec9ac9cb16719396e85ddd044b3c6ebc.tar.gz glibc-356fa562ec9ac9cb16719396e85ddd044b3c6ebc.tar.xz glibc-356fa562ec9ac9cb16719396e85ddd044b3c6ebc.zip |
Consistently added return to pthread_exit
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index e4a3c74ac9..df2a478318 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -501,7 +501,7 @@ extern int __pthread_atfork (void (*prepare) (void), void (*parent) (void), extern pthread_t __pthread_self (void); extern int __pthread_equal (pthread_t thread1, pthread_t thread2); extern int __pthread_kill (pthread_t threadid, int signo); -extern void __pthread_exit (void *value); +extern void __pthread_exit (void *value) __attribute__ ((__noreturn__)); extern int __pthread_setcanceltype (int type, int *oldtype); extern int __pthread_enable_asynccancel (void) attribute_hidden; extern void __pthread_disable_asynccancel (int oldtype) |