summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-06-14 20:35:13 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-14 20:35:13 +0000
commit979f3bc0d18b71a6bd29557a4af9de3eaa5c34f3 (patch)
treed051e5a45aa2f1e1eadb0006a5f8eea826aa71dc /libgcompat
parent43977f09b303d24d85d61c6d195f4517f6c5ecef (diff)
downloadgcompat-979f3bc0d18b71a6bd29557a4af9de3eaa5c34f3.tar.gz
gcompat-979f3bc0d18b71a6bd29557a4af9de3eaa5c34f3.tar.bz2
gcompat-979f3bc0d18b71a6bd29557a4af9de3eaa5c34f3.tar.xz
gcompat-979f3bc0d18b71a6bd29557a4af9de3eaa5c34f3.zip
pthread: add __pthread_[un]register_cancel stubs, not relevant to musl pthread implementation
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/pthread.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgcompat/pthread.c b/libgcompat/pthread.c
index 9d061e9..ddfc570 100644
--- a/libgcompat/pthread.c
+++ b/libgcompat/pthread.c
@@ -5,3 +5,11 @@ int __register_atfork(void (*prepare)(void), void (*parent)(void), void (*child)
}
int register_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)) __attribute__ ((weak, alias("__register_atfork")));
+
+
+void __pthread_register_cancel(void *buf) {
+}
+
+
+void __pthread_unregister_cancel(void *buf) {
+}