summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/include/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/include/pthread.h')
-rw-r--r--libc-top-half/musl/include/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc-top-half/musl/include/pthread.h b/libc-top-half/musl/include/pthread.h
index 01fe5f2..b14fe82 100644
--- a/libc-top-half/musl/include/pthread.h
+++ b/libc-top-half/musl/include/pthread.h
@@ -85,7 +85,9 @@ extern "C" {
int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict);
int pthread_detach(pthread_t);
+#ifdef __wasilibc_unmodified_upstream
_Noreturn void pthread_exit(void *);
+#endif
int pthread_join(pthread_t, void **);
#ifdef __GNUC__