summaryrefslogtreecommitdiff
path: root/nptl/nptl-init.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-03-16 18:05:39 +0100
committerFlorian Weimer <fweimer@redhat.com>2021-03-18 23:06:12 +0100
commit39e7b09357b2adb845e13888ba4a5688068cd4a0 (patch)
tree67ad055eb1b4c56d7f545244cefc282f7eef2213 /nptl/nptl-init.c
parent617ceec8d5c36b19b082bdbbf762e2f0e05e7d64 (diff)
downloadglibc-fw/libpthread-20210318b.tar.gz
nptl: Remove remnants of the libc/libpthread forwarder interfacefw/libpthread-20210318b
All previously forwarded functions are now implemented in libc.
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 f4a603b32d..061e3ff8d7 100644
--- a/nptl/nptl-init.c
+++ b/nptl/nptl-init.c
@@ -50,15 +50,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)
@@ -207,7 +198,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)