aboutsummaryrefslogtreecommitdiff
path: root/nptl/nptl-init.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:51 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:51 +0200
commit1d67cf9e8a0194588e66fb3b7afcbdc3bf836a30 (patch)
treeb745791cf23c96def3d1330506a05732e65b4a7c /nptl/nptl-init.c
parent486010a3c8cb59df19995eac964ef51e627287a4 (diff)
downloadglibc-1d67cf9e8a0194588e66fb3b7afcbdc3bf836a30.zip
glibc-1d67cf9e8a0194588e66fb3b7afcbdc3bf836a30.tar.gz
glibc-1d67cf9e8a0194588e66fb3b7afcbdc3bf836a30.tar.bz2
nptl: Remove remnants of the libc/libpthread forwarder interface
All previously forwarded functions are now implemented in libc. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/nptl-init.c')
-rw-r--r--nptl/nptl-init.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c
index 28e1aeb..b0879bd 100644
--- a/nptl/nptl-init.c
+++ b/nptl/nptl-init.c
@@ -49,15 +49,6 @@ size_t __static_tls_align_m1;
/* Version of the library, used in libthread_db to detect mismatches. */
static const char nptl_version[] __attribute_used__ = VERSION;
-#ifdef SHARED
-static const struct pthread_functions pthread_functions =
- {
- };
-# define ptr_pthread_functions &pthread_functions
-#else
-# define ptr_pthread_functions NULL
-#endif
-
/* For asynchronous cancellation we use a signal. This is the handler. */
static void
sigcancel_handler (int sig, siginfo_t *si, void *ctx)
@@ -206,7 +197,7 @@ __pthread_initialize_minimal_internal (void)
#ifndef TLS_MULTIPLE_THREADS_IN_TCB
__libc_multiple_threads_ptr =
#endif
- __libc_pthread_init (__reclaim_stacks, ptr_pthread_functions);
+ __libc_pthread_init (__reclaim_stacks);
}
strong_alias (__pthread_initialize_minimal_internal,
__pthread_initialize_minimal)