summaryrefslogtreecommitdiff
path: root/pthread/pt-exit.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-08-30 23:29:21 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-08-30 23:29:21 +0200
commit6b1ebd29a16f2c2c91f8fcae4ce2b5dd62143821 (patch)
tree026e82163d438015f9fe828e16a174ee1a405803 /pthread/pt-exit.c
parent13aeb1df3614cbb0c0dc074427ab2f95160af0bb (diff)
parent0096579c8bea920f7c42b40ea22db621da6480a5 (diff)
Merge commit 'refs/top-bases/t/fix_have_kernel_resources' into t/fix_have_kernel_resourcest/fix_have_kernel_resources
Diffstat (limited to 'pthread/pt-exit.c')
-rw-r--r--pthread/pt-exit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pthread/pt-exit.c b/pthread/pt-exit.c
index c01efda..c47b604 100644
--- a/pthread/pt-exit.c
+++ b/pthread/pt-exit.c
@@ -24,13 +24,13 @@
#include <pt-internal.h>
-#include <bits/atomic.h>
+#include <bits/pt-atomic.h>
/* Terminate the current thread and make STATUS available to any
thread that might join it. */
void
-pthread_exit (void *status)
+__pthread_exit (void *status)
{
struct __pthread *self = _pthread_self ();
struct __pthread_cancelation_handler **handlers;
@@ -120,3 +120,5 @@ pthread_exit (void *status)
/* NOTREACHED */
abort ();
}
+
+strong_alias (__pthread_exit, pthread_exit);