about summary refs log tree commit diff
path: root/nptl/pthreadP.h
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
commit43fe356d18e12b5826dfee4c0b57b5c75c3a9a72 (patch)
tree70aff7217ebdc746c77f3f5b2a18a3e7ae051579 /nptl/pthreadP.h
parent130fca173f323a24b41873b6656ab77c7cff86e1 (diff)
downloadglibc-43fe356d18e12b5826dfee4c0b57b5c75c3a9a72.tar.gz
glibc-43fe356d18e12b5826dfee4c0b57b5c75c3a9a72.tar.xz
glibc-43fe356d18e12b5826dfee4c0b57b5c75c3a9a72.zip
nptl: Move internal __nptl_nthreads variable into libc
Reviewed-by: Adhemerval Zanella   <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r--nptl/pthreadP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index 2e66379441..64ec71c23f 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -220,7 +220,8 @@ extern struct pthread_key_struct __pthread_keys[PTHREAD_KEYS_MAX];
 hidden_proto (__pthread_keys)
 
 /* Number of threads running.  */
-extern unsigned int __nptl_nthreads attribute_hidden;
+extern unsigned int __nptl_nthreads;
+libc_hidden_proto (__nptl_nthreads)
 
 #ifndef __ASSUME_SET_ROBUST_LIST
 /* Negative if we do not have the system call and we can use it.  */