diff options
author | Joel Sherrill <joel@rtems.org> | 2016-03-22 00:20:18 +0300 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-03-22 17:48:26 +0300 |
commit | 1f9599f3a72a14619f415b445342f48eccc1549d (patch) | |
tree | 317d02ecc65bfaeef1f027077f65557588bb4f86 | |
parent | 13707ae93318b8f3e9967c1a8ab7714b665a0177 (diff) |
pthread.h: Mark pthread_exit() as not returning
-rw-r--r-- | newlib/libc/include/pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/pthread.h b/newlib/libc/include/pthread.h index e1de176a7..33ced0a64 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 */ |