summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorgfleury <gfleury@disroot.org>2025-08-17 12:40:21 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-08-18 01:06:38 +0200
commitf5a43420e24ebdaddde2afc3878da8b6f0c83362 (patch)
tree1125f3310bbd4241b580b4a5b1285d5bdb12552d /hurd
parent795f5f2a8b05a8d1636d95823246f11e9203eaa1 (diff)
htl: move sem_{clockwait, timedwait, wait, trywait} into libc.
Message-ID: <20250817104023.91919-7-gfleury@disroot.org>
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdlock.c1
-rw-r--r--hurd/hurdlock.h1
2 files changed, 2 insertions, 0 deletions
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. */