Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-03-22 00:20:18 +0300
committerJoel Sherrill <joel@rtems.org>2016-03-22 17:48:26 +0300
commit1f9599f3a72a14619f415b445342f48eccc1549d (patch)
tree317d02ecc65bfaeef1f027077f65557588bb4f86
parent13707ae93318b8f3e9967c1a8ab7714b665a0177 (diff)
pthread.h: Mark pthread_exit() as not returning
-rw-r--r--newlib/libc/include/pthread.h2
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 */