From: Samuel Thibault Date: Sun, 6 Jul 2025 10:00:22 +0000 (+0000) Subject: htl: Drop ptr_pthread_once from pthread_functions X-Git-Tag: glibc-2.42~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b80f108b55c363875ece6f2329d9a8ba01649c70;p=thirdparty%2Fglibc.git htl: Drop ptr_pthread_once from pthread_functions It is unused since ccdb68e829a3 ("htl: move pthread_once into libc") --- diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c index cd8b4678cd..5ffee38bb3 100644 --- a/htl/pt-initialize.c +++ b/htl/pt-initialize.c @@ -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, diff --git a/sysdeps/htl/pthread-functions.h b/sysdeps/htl/pthread-functions.h index 31d85cc80c..053649fe5d 100644 --- a/sysdeps/htl/pthread-functions.h +++ b/sysdeps/htl/pthread-functions.h @@ -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 *);