prepare pthread_create.c for cherry-picking from master
authorRich Felker <dalias@aerifal.cx>
Mon, 28 Jul 2014 04:25:24 +0000 (00:25 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 28 Jul 2014 04:25:24 +0000 (00:25 -0400)
this change is harmless and allows commit
a6adb2bcd8145353943377d6119c1d7a4242bae1 to apply without conflicts.

src/thread/pthread_create.c

index ee6c31c46c156af22ef3774a64493544276eb0ed..f60cd4a364914d8020755f78304ccf89052f0ba8 100644 (file)
@@ -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);