diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-05-13 09:49:20 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-05-13 09:49:20 -0700 |
commit | e0db65176fa88b9497cbd6362b24e3225382bfb6 (patch) | |
tree | b692338590e818c8b273730577434d4d685fc4ef /csu | |
parent | 01eb16fdb6c143884dcaeadf45ffdd725207eed5 (diff) | |
download | glibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.zip glibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.tar.gz glibc-e0db65176fa88b9497cbd6362b24e3225382bfb6.tar.bz2 |
Clean up __exit_thread.
Diffstat (limited to 'csu')
-rw-r--r-- | csu/libc-start.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/csu/libc-start.c b/csu/libc-start.c index d571a1a..138418a 100644 --- a/csu/libc-start.c +++ b/csu/libc-start.c @@ -20,6 +20,7 @@ #include <stdio.h> #include <unistd.h> #include <ldsodefs.h> +#include <exit-thread.h> extern void __libc_init_first (int argc, char **argv, char **envp); #ifndef SHARED @@ -312,7 +313,7 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL), if (! atomic_decrement_and_test (ptr)) /* Not much left to do but to exit the thread, not the process. */ - __exit_thread (0); + __exit_thread (); } #else /* Nothing fancy, just call the function. */ |