summaryrefslogtreecommitdiff
path: root/pthread/pt-exit.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-08-30 23:48:39 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-08-30 23:48:39 +0200
commita8b134d8c667b0105d7194a78f3fe478a3857302 (patch)
tree94da06519d2a623ce4e7aee21fd7b32ffecfea59 /pthread/pt-exit.c
parent013f554871c671f88942c9429720d3bb9a76c5ea (diff)
parent0096579c8bea920f7c42b40ea22db621da6480a5 (diff)
Merge commit 'refs/top-bases/t/stand-alone' into t/stand-alonet/stand-alone
Conflicts: Makefile.am
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);