summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/include/pthread.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 16:23:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 16:23:17 +0000
commit7f79db51f243004b32a4f6e7e4383b7e7852880b (patch)
tree63173de332f62703fa1d40e4386807c84330210d /libc-top-half/musl/src/include/pthread.h
parentAdding debian version 0.0~git20221206.8b7148f-1. (diff)
downloadwasi-libc-7f79db51f243004b32a4f6e7e4383b7e7852880b.tar.xz
wasi-libc-7f79db51f243004b32a4f6e7e4383b7e7852880b.zip
Merging upstream version 0.0~git20230113.4362b18.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libc-top-half/musl/src/include/pthread.h')
-rw-r--r--libc-top-half/musl/src/include/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/include/pthread.h b/libc-top-half/musl/src/include/pthread.h
index 7167d3e..0aba813 100644
--- a/libc-top-half/musl/src/include/pthread.h
+++ b/libc-top-half/musl/src/include/pthread.h
@@ -7,7 +7,9 @@ hidden int __pthread_once(pthread_once_t *, void (*)(void));
hidden void __pthread_testcancel(void);
hidden int __pthread_setcancelstate(int, int *);
hidden int __pthread_create(pthread_t *restrict, const pthread_attr_t *restrict, void *(*)(void *), void *restrict);
+#ifdef __wasilibc_unmodified_upstream
hidden _Noreturn void __pthread_exit(void *);
+#endif
hidden int __pthread_join(pthread_t, void **);
hidden int __pthread_mutex_lock(pthread_mutex_t *);
hidden int __pthread_mutex_trylock(pthread_mutex_t *);