about summary refs log tree commit diff
path: root/nptl/pthread_create.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-31 01:47:34 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-31 01:47:34 +0000
commit3fa21fd813ac323f2890812b99663d7cf17578eb (patch)
tree4a98c7119b18fd5c91368eb8e95c4371ee71fc54 /nptl/pthread_create.c
parenta70e964ee0ec3827b4d24ed3fbff1b614b1a0269 (diff)
downloadglibc-3fa21fd813ac323f2890812b99663d7cf17578eb.tar.gz
glibc-3fa21fd813ac323f2890812b99663d7cf17578eb.tar.xz
glibc-3fa21fd813ac323f2890812b99663d7cf17578eb.zip
Update.
2004-03-30  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/libc-start.c (LIBC_START_MAIN)
	[HAVE_CLEANUP_JMP_BUF]: Call __nptl_deallocate_tsd.
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r--nptl/pthread_create.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 014c41b7a4..34edee498f 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -102,9 +102,9 @@ __find_in_stack_list (pd)
 
 
 /* Deallocate POSIX thread-local-storage.  */
-static void
-internal_function
-deallocate_tsd (void)
+void
+attribute_hidden
+__nptl_deallocate_tsd (void)
 {
   struct pthread *self = THREAD_SELF;
 
@@ -268,7 +268,7 @@ start_thread (void *arg)
     }
 
   /* Run the destructor for the thread-local data.  */
-  deallocate_tsd ();
+  __nptl_deallocate_tsd ();
 
   /* Clean up any state libc stored in thread-local variables.  */
   __libc_thread_freeres ();