summaryrefslogtreecommitdiff
path: root/pthread/pt-self.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-self.c
parentd3f9d546c97402cd7d039fb6f3e3242327805784 (diff)
parent640cfa0a4af3dc399bff496fd94081a99dbbcdd2 (diff)
Merge commit 'refs/top-bases/baseline' into baselinebaseline
Diffstat (limited to 'pthread/pt-self.c')
-rw-r--r--pthread/pt-self.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pthread/pt-self.c b/pthread/pt-self.c
index 4976864..deb57c0 100644
--- a/pthread/pt-self.c
+++ b/pthread/pt-self.c
@@ -23,10 +23,12 @@
/* Return the thread ID of the calling thread. */
pthread_t
-pthread_self (void)
+__pthread_self (void)
{
struct __pthread *self = _pthread_self ();
assert (self);
return self->thread;
}
+
+strong_alias (__pthread_self, pthread_self);