about summary refs log tree commit diff
path: root/nptl/pthread_create.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-05-13 09:49:20 -0700
committerRoland McGrath <roland@hack.frob.com>2014-05-13 09:49:20 -0700
commite0db65176fa88b9497cbd6362b24e3225382bfb6 (patch)
treeb692338590e818c8b273730577434d4d685fc4ef /nptl/pthread_create.c
parent01eb16fdb6c143884dcaeadf45ffdd725207eed5 (diff)
downloadglibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.tar.gz
glibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.tar.xz
glibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.zip
Clean up __exit_thread.
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r--nptl/pthread_create.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 38e69cb496..2997163733 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -29,6 +29,7 @@
 #include <libc-internal.h>
 #include <resolv.h>
 #include <kernel-features.h>
+#include <exit-thread.h>
 
 #include <shlib-compat.h>
 
@@ -432,7 +433,7 @@ start_thread (void *arg)
 
      The exit code is zero since in case all threads exit by calling
      'pthread_exit' the exit status must be 0 (zero).  */
-  __exit_thread_inline (0);
+  __exit_thread ();
 
   /* NOTREACHED */
   return 0;