projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix unintended linking dependency of pthread_key_create on __synccall
[musl]
/
src
/
thread
/
pthread_key_create.c
diff --git
a/src/thread/pthread_key_create.c
b/src/thread/pthread_key_create.c
index
e26f199
..
0903d48
100644
(file)
--- a/
src/thread/pthread_key_create.c
+++ b/
src/thread/pthread_key_create.c
@@
-35,6
+35,12
@@
static void clean_dirty_tsd_callback(void *p)
if (args->caller == self) args->ret = 0;
}
if (args->caller == self) args->ret = 0;
}
+static void dummy2(void (*f)(void *), void *p)
+{
+}
+
+weak_alias(dummy2, __pthread_key_delete_synccall);
+
static int clean_dirty_tsd(void)
{
struct cleanup_args args = {
static int clean_dirty_tsd(void)
{
struct cleanup_args args = {