public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd, commited] hurd: Let report-wait use a weak reference to _hurd_itimer_thread
@ 2021-11-28 20:27 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2021-11-28 20:27 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault, commit-hurd

libc.so.0.3 does not seem to need this defined any more.
---
 hurd/report-wait.c | 5 -----
 1 file changed, 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,
-- 
2.33.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-28 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-28 20:27 [hurd, commited] hurd: Let report-wait use a weak reference to _hurd_itimer_thread Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).