summaryrefslogtreecommitdiff
path: root/include/pthread/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pthread/pthread.h')
-rw-r--r--include/pthread/pthread.h2
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. */