summaryrefslogtreecommitdiff
path: root/pthread/pt-self.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-08-30 23:31:39 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-08-30 23:31:39 +0200
commit16a92d2765c5732abb64742cb5d387148e0ac629 (patch)
treeabbbadbf54f87eed25f71a312e43ce7f7cb7adfe /pthread/pt-self.c
parent9a231435f830c459c0e214c2b99877e2ed6edb56 (diff)
parent0096579c8bea920f7c42b40ea22db621da6480a5 (diff)
Merge commit 'refs/top-bases/t/fix_inline' into t/fix_inlinet/fix_inline
Conflicts: sysdeps/l4/hurd/pt-sysdep.h
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);