about summary refs log tree commit diff
path: root/nptl/vars.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:50 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:50 +0200
commita91bf4e0ff4df92553e72f181ae1f60e1b36503c (patch)
tree7e7e7dcb4c797f287132d163b30b3e5609d77343 /nptl/vars.c
parent7a7229de1da3966e5e69e7c8d4746984003db4a6 (diff)
downloadglibc-a91bf4e0ff4df92553e72f181ae1f60e1b36503c.tar.gz
glibc-a91bf4e0ff4df92553e72f181ae1f60e1b36503c.tar.xz
glibc-a91bf4e0ff4df92553e72f181ae1f60e1b36503c.zip
nptl: Move __pthread_keys global variable into libc
This prepares moving pthread_exit, and later the pthread_key_create
infrastructure.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/vars.c')
-rw-r--r--nptl/vars.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/nptl/vars.c b/nptl/vars.c
index 51de9fbd54..8de30856b8 100644
--- a/nptl/vars.c
+++ b/nptl/vars.c
@@ -33,8 +33,3 @@ int __default_pthread_attr_lock = LLL_LOCK_INITIALIZER;
    nptl/descr.h for more context on the single-threaded process case.  */
 int __pthread_multiple_threads attribute_hidden;
 #endif
-
-/* Table of the key information.  */
-struct pthread_key_struct __pthread_keys[PTHREAD_KEYS_MAX]
-  __attribute__ ((nocommon));
-hidden_data_def (__pthread_keys)