summaryrefslogtreecommitdiff
path: root/pthread/pt-self.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-self.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-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);