diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-11-09 19:56:26 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-11-09 19:56:26 -0500 |
commit | 67b29947893cd5991a8cbab8aef4f3b2ebfa73fe (patch) | |
tree | ae2a07a7cfd6f401de2dff63abc1d825a1e2fb74 /src/time/timer_create.c | |
parent | 13935337f3e9bbf9db9e6403d761bc670ea1a6d5 (diff) | |
download | musl-67b29947893cd5991a8cbab8aef4f3b2ebfa73fe.tar.gz musl-67b29947893cd5991a8cbab8aef4f3b2ebfa73fe.tar.bz2 musl-67b29947893cd5991a8cbab8aef4f3b2ebfa73fe.tar.xz musl-67b29947893cd5991a8cbab8aef4f3b2ebfa73fe.zip |
fix mismatched type of __pthread_tsd_run_dtors weak definition
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.
Diffstat (limited to 'src/time/timer_create.c')
-rw-r--r-- | src/time/timer_create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/time/timer_create.c b/src/time/timer_create.c index b54a524c..16432bec 100644 --- a/src/time/timer_create.c +++ b/src/time/timer_create.c @@ -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(); |