From 02ca56841e7fc3d016b948b29421619408a18227 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 22 Sep 2015 02:52:13 +0200 Subject: Do not expose "noreturn" name * ./include/pthread/pthread.h (pthread_exit): Use __noreturn__ attribute instead of noreturn. --- include/pthread/pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/pthread/pthread.h') diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h index c211001..f0229b1 100644 --- a/include/pthread/pthread.h +++ b/include/pthread/pthread.h @@ -197,7 +197,7 @@ extern int pthread_create (pthread_t *__restrict __threadp, /* Terminate the current thread and make STATUS available to any thread that might join us. */ -extern void pthread_exit (void *__status) __attribute__ ((noreturn)); +extern void pthread_exit (void *__status) __attribute__ ((__noreturn__)); /* Make calling thread wait for termination of thread THREAD. Return the exit status of the thread in *STATUS. */ -- cgit v1.2.3