[PATCH] pthread.h: Mark pthread_exit() as not returning
Corinna Vinschen
vinschen@redhat.com
Tue Mar 22 14:59:00 GMT 2016
On Mar 22 09:48, Joel Sherrill wrote:
> ---
> 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 */
>
> --
> 1.8.3.1
Acked-by: Corinna Vinschen <vinschen@redhat.com>
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20160322/c1167ed2/attachment.sig>
More information about the Newlib
mailing list