]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: Drop ptr_pthread_once from pthread_functions
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 6 Jul 2025 10:00:22 +0000 (10:00 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 6 Jul 2025 10:02:17 +0000 (10:02 +0000)
It is unused since ccdb68e829a3 ("htl: move pthread_once into libc")

htl/pt-initialize.c
sysdeps/htl/pthread-functions.h

index cd8b4678cdf1a81955db61aac93e71b645310bb3..5ffee38bb3ce9d59c57a1180be482f1f32f71e4b 100644 (file)
@@ -29,7 +29,6 @@
 static const struct pthread_functions pthread_functions = {
   .ptr___pthread_exit = __pthread_exit,
   .ptr___pthread_get_cleanup_stack = __pthread_get_cleanup_stack,
-  .ptr_pthread_once = __pthread_once,
   .ptr__IO_flockfile = _cthreads_flockfile,
   .ptr__IO_funlockfile = _cthreads_funlockfile,
   .ptr__IO_ftrylockfile = _cthreads_ftrylockfile,
index 31d85cc80c74820f320c188e7415e85ffce1cb2b..053649fe5d52e3e762ef6babf0fc4959ca76d9a7 100644 (file)
@@ -23,7 +23,6 @@
 
 void __pthread_exit (void *) __attribute__ ((__noreturn__));
 struct __pthread_cancelation_handler **__pthread_get_cleanup_stack (void);
-int __pthread_once (pthread_once_t *, void (*) (void));
 
 void _cthreads_flockfile (FILE *);
 void _cthreads_funlockfile (FILE *);
@@ -36,7 +35,6 @@ struct pthread_functions
 {
   void (*ptr___pthread_exit) (void *) __attribute__ ((__noreturn__));
   struct __pthread_cancelation_handler **(*ptr___pthread_get_cleanup_stack) (void);
-  int (*ptr_pthread_once) (pthread_once_t *, void (*) (void));
   void (*ptr__IO_flockfile) (FILE *);
   void (*ptr__IO_funlockfile) (FILE *);
   int (*ptr__IO_ftrylockfile) (FILE *);