From: Rich Felker Date: Mon, 28 Jul 2014 04:25:24 +0000 (-0400) Subject: prepare pthread_create.c for cherry-picking from master X-Git-Tag: v1.0.4~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5987b6824359fa2a8b3ba715f1bdfab141c8d8c3;p=oweals%2Fmusl.git prepare pthread_create.c for cherry-picking from master this change is harmless and allows commit a6adb2bcd8145353943377d6119c1d7a4242bae1 to apply without conflicts. --- 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);