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:24:36 +0200
commit8fbb33b3f74560ea3c74d289bdf59cffce52b463 (patch)
treece89a60001d8a815ac5aba3fe6511b03609302b3 /nptl/pthreadP.h
parentc79a31fb36fe265f7566bea622849b06c94b4022 (diff)
downloadglibc-8fbb33b3f74560ea3c74d289bdf59cffce52b463.tar.gz
glibc-8fbb33b3f74560ea3c74d289bdf59cffce52b463.tar.xz
glibc-8fbb33b3f74560ea3c74d289bdf59cffce52b463.zip
nptl: Move __free_tcb into libc
Under the name __nptl_free_tcb.

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 505d0f00ff..d580f71a38 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -312,7 +312,8 @@ __do_cancel (void)
 
 /* Deallocate a thread's stack after optionally making sure the thread
    descriptor is still valid.  */
-extern void __free_tcb (struct pthread *pd) attribute_hidden;
+extern void __nptl_free_tcb (struct pthread *pd);
+libc_hidden_proto (__nptl_free_tcb)
 
 /* Change the permissions of a thread stack.  Called from
    _dl_make_stacks_executable and pthread_create.  */