fix mismatched type of __pthread_tsd_run_dtors weak definition
authorRich Felker <dalias@aerifal.cx>
Fri, 10 Nov 2017 00:56:26 +0000 (19:56 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 10 Nov 2017 00:56:26 +0000 (19:56 -0500)
commit a6054e3c94aa0491d7366e4b05ae0d73f661bfe2 changed this function
not to take an argument, but the weak definition used by timer_create
was not updated to match.

reported by Pascal Cuoq.

src/time/timer_create.c

index b54a524ce85bb2e3ec97987bb3b017dc958d96f7..16432bec4d088e10e094f5eb48d272d554e54ff0 100644 (file)
@@ -14,10 +14,10 @@ struct start_args {
        struct sigevent *sev;
 };
 
-static void dummy_1(pthread_t self)
+static void dummy_0()
 {
 }
-weak_alias(dummy_1, __pthread_tsd_run_dtors);
+weak_alias(dummy_0, __pthread_tsd_run_dtors);
 
 void __reset_tls();