This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] pthread.h: Mark pthread_exit() as not returning


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]