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
commit2cfef0b042561ec2a61cab0a1f3a85a28780985d (patch)
tree3f1cc7d083b28a3a71a5668cce4cc80c6b4506f8 /nptl/pthreadP.h
parenta91bf4e0ff4df92553e72f181ae1f60e1b36503c (diff)
downloadglibc-2cfef0b042561ec2a61cab0a1f3a85a28780985d.tar.gz
glibc-2cfef0b042561ec2a61cab0a1f3a85a28780985d.tar.xz
glibc-2cfef0b042561ec2a61cab0a1f3a85a28780985d.zip
nptl: Move __nptl_deallocate_tsd 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/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 c6f95c70a1..b47c4c5be1 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -686,7 +686,8 @@ extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *buffer,
 extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer,
 					  int execute);
 
-extern void __nptl_deallocate_tsd (void) attribute_hidden;
+extern void __nptl_deallocate_tsd (void);
+libc_hidden_proto (__nptl_deallocate_tsd)
 
 extern void __nptl_setxid_error (struct xid_command *cmdp, int error)
   attribute_hidden;