From f5a43420e24ebdaddde2afc3878da8b6f0c83362 Mon Sep 17 00:00:00 2001 From: gfleury Date: Sun, 17 Aug 2025 12:40:21 +0200 Subject: htl: move sem_{clockwait, timedwait, wait, trywait} into libc. Message-ID: <20250817104023.91919-7-gfleury@disroot.org> --- hurd/hurdlock.c | 1 + hurd/hurdlock.h | 1 + 2 files changed, 2 insertions(+) (limited to 'hurd') diff --git a/hurd/hurdlock.c b/hurd/hurdlock.c index c771662e84..1cb6981ac2 100644 --- a/hurd/hurdlock.c +++ b/hurd/hurdlock.c @@ -64,6 +64,7 @@ __lll_abstimed_wait_intr (void *ptr, int val, int mlsec = compute_reltime (tsp, clk); return mlsec < 0 ? KERN_TIMEDOUT : __lll_timed_wait_intr (ptr, val, mlsec, flags); } +libc_hidden_def (__lll_abstimed_wait_intr) int __lll_abstimed_xwait (void *ptr, int lo, int hi, diff --git a/hurd/hurdlock.h b/hurd/hurdlock.h index 0cfccc562c..532a07d5f4 100644 --- a/hurd/hurdlock.h +++ b/hurd/hurdlock.h @@ -58,6 +58,7 @@ extern int __lll_abstimed_wait (void *__ptr, int __val, /* Interruptible version. */ extern int __lll_abstimed_wait_intr (void *__ptr, int __val, const struct timespec *__tsp, int __flags, int __clk); +libc_hidden_proto (__lll_abstimed_wait_intr) /* Same as 'lll_xwait', but only block until TSP elapses, using clock CLK. */ -- cgit v1.2.3