fix call to __pthread_tsd_run_dtors with too many arguments
authorRich Felker <dalias@aerifal.cx>
Mon, 21 Jan 2019 16:47:55 +0000 (11:47 -0500)
committerRich Felker <dalias@aerifal.cx>
Mon, 21 Jan 2019 16:47:55 +0000 (11:47 -0500)
commit a6054e3c94aa0491d7366e4b05ae0d73f661bfe2 removed the argument,
making it a constraint violation to pass one. caught by cparser/firm;
other compilers seem to ignore it.

src/time/timer_create.c

index ad7a2646368235ef3ec5624e3a5b4ed4aeb9d586..d9fbaee5692ade5cfa74e8a108c2b2a103901ea5 100644 (file)
@@ -22,7 +22,7 @@ weak_alias(dummy_0, __pthread_tsd_run_dtors);
 static void cleanup_fromsig(void *p)
 {
        pthread_t self = __pthread_self();
-       __pthread_tsd_run_dtors(self);
+       __pthread_tsd_run_dtors();
        self->cancel = 0;
        self->cancelbuf = 0;
        self->canceldisable = 0;