summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-28 00:25:24 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-28 00:25:24 -0400
commit5987b6824359fa2a8b3ba715f1bdfab141c8d8c3 (patch)
tree1070d46f66634b7871ecab69d697ceaae276b65e /src
parentbf9d9ceaa3295847d901821c62f5f6f23db7aefd (diff)
downloadmusl-5987b6824359fa2a8b3ba715f1bdfab141c8d8c3.tar.gz
prepare pthread_create.c for cherry-picking from master
this change is harmless and allows commit a6adb2bcd8145353943377d6119c1d7a4242bae1 to apply without conflicts.
Diffstat (limited to 'src')
-rw-r--r--src/thread/pthread_create.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c
index ee6c31c4..f60cd4a3 100644
--- a/src/thread/pthread_create.c
+++ b/src/thread/pthread_create.c
@@ -110,6 +110,8 @@ static int start(void *p)
/* pthread_key_create.c overrides this */
static const size_t dummy = 0;
weak_alias(dummy, __pthread_tsd_size);
+static void *const dummy_tsd[1] = { 0 };
+weak_alias(dummy_tsd, __pthread_tsd_main);
static FILE *const dummy_file = 0;
weak_alias(dummy_file, __stdin_used);