summaryrefslogtreecommitdiff
path: root/pthread/pt-exit.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-08-30 23:29:02 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-08-30 23:29:02 +0200
commit0096579c8bea920f7c42b40ea22db621da6480a5 (patch)
tree13624908cf430569082784ade52d97b94de8762c /pthread/pt-exit.c
parentd3f9d546c97402cd7d039fb6f3e3242327805784 (diff)
parent640cfa0a4af3dc399bff496fd94081a99dbbcdd2 (diff)
Merge commit 'refs/top-bases/baseline' into baselinebaseline
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);