From 356fa562ec9ac9cb16719396e85ddd044b3c6ebc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Jan 2012 19:02:21 -0500 Subject: Consistently added return to pthread_exit --- nptl/pthreadP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/pthreadP.h') diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index e4a3c74..df2a478 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) -- cgit v1.1