mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* pthread.cc (pthread_exit): Add kludge to accommodate noreturn attribute.
This commit is contained in:
parent
0a7746bde6
commit
b01065f174
@ -1,3 +1,7 @@
|
||||
2013-01-16 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||
|
||||
* pthread.cc (pthread_exit): Add kludge to accommodate noreturn attribute.
|
||||
|
||||
2013-01-14 Antti Kantee <pooka@iki.fi>
|
||||
|
||||
* include/pthread.h (pthread_exit): Mark as "noreturn".
|
||||
|
@ -39,7 +39,8 @@ pthread_atfork (void (*prepare)(void), void (*parent)(void), void (*child)(void)
|
||||
void
|
||||
pthread_exit (void *value_ptr)
|
||||
{
|
||||
return pthread::self ()->exit (value_ptr);
|
||||
pthread::self ()->exit (value_ptr);
|
||||
__builtin_unreachable (); /* FIXME: don't know why this is necessary */
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user