summaryrefslogtreecommitdiff
path: root/lib/pthread.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pthread.in.h')
-rw-r--r--lib/pthread.in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pthread.in.h b/lib/pthread.in.h
index a70d0234e5..a6fb3d96e4 100644
--- a/lib/pthread.in.h
+++ b/lib/pthread.in.h
@@ -684,7 +684,7 @@ _GL_WARN_ON_USE (pthread_join, "pthread_join is not portable - "
# define pthread_exit rpl_pthread_exit
# endif
_GL_FUNCDECL_RPL (pthread_exit, _Noreturn void, (void *value));
-_GL_CXXALIAS_RPL (pthread_exit, _Noreturn void, (void *value));
+_GL_CXXALIAS_RPL (pthread_exit, void, (void *value));
# else
# if !@HAVE_PTHREAD_EXIT@
_GL_FUNCDECL_SYS (pthread_exit, _Noreturn void, (void *value));