summary refs log tree commit diff
path: root/nptl/pthread_detach.c
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/pthread_detach.c
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/pthread_detach.c')
-rw-r--r--nptl/pthread_detach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_detach.c b/nptl/pthread_detach.c
index 57293ec950..410255bbe1 100644
--- a/nptl/pthread_detach.c
+++ b/nptl/pthread_detach.c
@@ -49,7 +49,7 @@ __pthread_detach (pthread_t th)
     if ((pd->cancelhandling & EXITING_BITMASK) != 0)
       /* Note that the code in __free_tcb makes sure each thread
 	 control block is freed only once.  */
-      __free_tcb (pd);
+      __nptl_free_tcb (pd);
 
   return result;
 }