提交 67b29947 编写于 作者: R Rich Felker

fix mismatched type of __pthread_tsd_run_dtors weak definition

commit a6054e3c 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.
上级 13935337
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册