about summary refs log tree commit diff
path: root/nptl/pthreadP.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-11 11:08:00 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-11 11:10:03 +0200
commit249bd833a08e2689e28ff9a094730f0b048a8442 (patch)
tree2106800f8ef1cfc6bfb73e7391400b7cb2b06ae2 /nptl/pthreadP.h
parentd2af73a348c4a230792d190c774a431fe5c31515 (diff)
downloadglibc-249bd833a08e2689e28ff9a094730f0b048a8442.tar.gz
glibc-249bd833a08e2689e28ff9a094730f0b048a8442.tar.xz
glibc-249bd833a08e2689e28ff9a094730f0b048a8442.zip
nptl: Move pthread_setattr_default_np into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

The export of  __default_pthread_attr_freeres is temporary.  There
is a minor regression in freeres coverage because in the dynamic case,
__default_pthread_attr_freeres is no longer called if libpthread is
not linked in.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r--nptl/pthreadP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index d9a6137bd3..8466332248 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -203,7 +203,7 @@ libc_hidden_proto (__default_pthread_attr)
 extern int __default_pthread_attr_lock;
 libc_hidden_proto (__default_pthread_attr_lock)
 /* Called from __libc_freeres to deallocate the default attribute.  */
-extern void __default_pthread_attr_freeres (void) attribute_hidden;
+extern void __default_pthread_attr_freeres (void);
 
 /* Size and alignment of static TLS block.  */
 extern size_t __static_tls_size attribute_hidden;