aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-01-14 21:17:37 +0000
committerChristopher Faylor <me@cgf.cx>2013-01-14 21:17:37 +0000
commitb8540dae6c9b383e52cb336c9057a52ae03d6f0b (patch)
tree767796ba68d1cd2a73d9a3ee6c6b85f235a57ee6
parent656a20cbd1288f6b58141ed41b819376eca0a9f1 (diff)
downloadnewlib-b8540dae6c9b383e52cb336c9057a52ae03d6f0b.zip
newlib-b8540dae6c9b383e52cb336c9057a52ae03d6f0b.tar.gz
newlib-b8540dae6c9b383e52cb336c9057a52ae03d6f0b.tar.bz2
* include/pthread.h (pthread_exit): Mark as "noreturn".
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/pthread.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 7c8d34a..6f957d0 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-14 Antti Kantee <pooka@iki.fi>
+
+ * include/pthread.h (pthread_exit): Mark as "noreturn".
+
2013-01-14 Christopher Faylor <me.cygwin2013@cgf.cx>
* exceptions.cc (signal_exit): Move captive process termintation...
diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h
index 9e21459..7ba2a82 100644
--- a/winsup/cygwin/include/pthread.h
+++ b/winsup/cygwin/include/pthread.h
@@ -137,7 +137,7 @@ int pthread_create (pthread_t *, const pthread_attr_t *,
void *(*)(void *), void *);
int pthread_detach (pthread_t);
int pthread_equal (pthread_t, pthread_t);
-void pthread_exit (void *);
+void pthread_exit (void *) __attribute__ ((noreturn));
int pthread_getcpuclockid (pthread_t, clockid_t *);
int pthread_getschedparam (pthread_t, int *, struct sched_param *);
void *pthread_getspecific (pthread_key_t);