aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/timer_routines.c
diff options
context:
space:
mode:
authorgfleury <gfleury@disroot.org>2024-12-19 22:37:20 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-22 23:34:27 +0100
commit8735ea79ab22cad3bd975b507fd6ca4b37094bb8 (patch)
treee8da52c53c7dd0ac6a8e643c99d4a9381d3d47c8 /sysdeps/htl/timer_routines.c
parentfd30525eadff6a4b2ac9478bdd6490d0c9c116d9 (diff)
downloadglibc-8735ea79ab22cad3bd975b507fd6ca4b37094bb8.zip
glibc-8735ea79ab22cad3bd975b507fd6ca4b37094bb8.tar.gz
glibc-8735ea79ab22cad3bd975b507fd6ca4b37094bb8.tar.bz2
htl: move pthread_cond_init into libc.
Signed-off-by: gfleury <gfleury@disroot.org> Message-ID: <20241219203727.669825-2-gfleury@disroot.org>
Diffstat (limited to 'sysdeps/htl/timer_routines.c')
-rw-r--r--sysdeps/htl/timer_routines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/timer_routines.c b/sysdeps/htl/timer_routines.c
index 3a63de6..0992ea3 100644
--- a/sysdeps/htl/timer_routines.c
+++ b/sysdeps/htl/timer_routines.c
@@ -151,7 +151,7 @@ thread_init (struct thread_node *thread, const pthread_attr_t *attr, clockid_t c
thread->exists = 0;
INIT_LIST_HEAD (&thread->timer_queue);
- pthread_cond_init (&thread->cond, 0);
+ __pthread_cond_init (&thread->cond, 0);
thread->current_timer = 0;
thread->captured = pthread_self ();
thread->clock_id = clock_id;