]> sourceware.org Git - glibc.git/commitdiff
hurd: Let report-wait use a weak reference to _hurd_itimer_thread
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 28 Nov 2021 20:26:25 +0000 (21:26 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 28 Nov 2021 20:26:25 +0000 (21:26 +0100)
libc.so.0.3 does not seem to need this defined any more.

hurd/report-wait.c

index 7d28a41b6c4bff97dfd32f169ae15fa9bba5d979..a02d2b38ed84f01c41715b69e83620a5bf1b8c7c 100644 (file)
@@ -107,13 +107,8 @@ describe_port (char *description, mach_port_t port, size_t size)
 
 /* We want _HURD_ITIMER_THREAD, but don't want to link in the itimer code
    unnecessarily.  */
-#if 0 /* libc.so.0.0 needs this defined, so make it a weak alias for now.  */
 extern thread_t _hurd_itimer_thread; /* XXX */
 weak_extern (_hurd_itimer_thread)
-#else
-static thread_t default_hurd_itimer_thread;
-weak_alias (default_hurd_itimer_thread, _hurd_itimer_thread)
-#endif
 
 kern_return_t
 _S_msg_report_wait (mach_port_t msgport, thread_t thread,
This page took 0.039908 seconds and 5 git commands to generate.