This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] pthread.h: Mark pthread_exit() as not returning


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1f9599f3a72a14619f415b445342f48eccc1549d

commit 1f9599f3a72a14619f415b445342f48eccc1549d
Author: Joel Sherrill <joel@rtems.org>
Date:   Mon Mar 21 16:20:18 2016 -0500

    pthread.h: Mark pthread_exit() as not returning

Diff:
---
 newlib/libc/include/pthread.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libc/include/pthread.h b/newlib/libc/include/pthread.h
index e1de176..33ced0a 100644
--- a/newlib/libc/include/pthread.h
+++ b/newlib/libc/include/pthread.h
@@ -260,7 +260,7 @@ int	_EXFUN(pthread_detach, (pthread_t __pthread));
 
 /* Thread Termination, p1003.1c/Draft 10, p. 150 */
 
-void	_EXFUN(pthread_exit, (void *__value_ptr));
+void	_EXFUN(pthread_exit, (void *__value_ptr)) __dead2;
 
 /* Get Calling Thread's ID, p1003.1c/Draft 10, p. XXX */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]