* lib/pthread.in.h (pthread_exit): Add comment.
* lib/threads.in.h (thrd_exit): Likewise.
# if !@HAVE_PTHREAD_EXIT@
_GL_FUNCDECL_SYS (pthread_exit, _Noreturn void, (void *value));
# endif
+/* Need to cast, because on AIX with xlclang++, the return type is
+ void. */
_GL_CXXALIAS_SYS_CAST (pthread_exit, _Noreturn void, (void *value));
# endif
_GL_CXXALIASWARN (pthread_exit);
# if !@HAVE_THREADS_H@
_GL_FUNCDECL_SYS (thrd_exit, _Noreturn void, (int));
# endif
+/* Need to cast, because on AIX with xlclang++, the return type is
+ void. */
_GL_CXXALIAS_SYS_CAST (thrd_exit, _Noreturn void, (int));
_GL_CXXALIASWARN (thrd_exit);
#elif defined GNULIB_POSIXCHECK