diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-22 02:52:13 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-22 02:52:13 +0200 |
commit | 02ca56841e7fc3d016b948b29421619408a18227 (patch) | |
tree | 1b9b785bf458575d7be3a4bb3e08c62f1c1f8fa3 /include/pthread/pthread.h | |
parent | 40f99833334b930762f957763d9db06e2f5dc7bb (diff) |
Do not expose "noreturn" name
* ./include/pthread/pthread.h (pthread_exit): Use __noreturn__ attribute
instead of noreturn.
Diffstat (limited to 'include/pthread/pthread.h')
-rw-r--r-- | include/pthread/pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |