summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-11-28 21:26:25 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-11-28 21:26:25 +0100
commite49c3c5d7a553040948a20b982387a097dc1eb2c (patch)
tree2fce64fccf2f1559d9ac2fc44167100b4ec462aa /hurd
parent137ed5ac440a4d3cf4178ce97f349b349a9c2c66 (diff)
downloadglibc-e49c3c5d7a553040948a20b982387a097dc1eb2c.tar.gz
glibc-e49c3c5d7a553040948a20b982387a097dc1eb2c.tar.xz
glibc-e49c3c5d7a553040948a20b982387a097dc1eb2c.zip
hurd: Let report-wait use a weak reference to _hurd_itimer_thread
libc.so.0.3 does not seem to need this defined any more.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/report-wait.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hurd/report-wait.c b/hurd/report-wait.c
index 7d28a41b6c..a02d2b38ed 100644
--- a/hurd/report-wait.c
+++ b/hurd/report-wait.c
@@ -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,