summaryrefslogtreecommitdiff
path: root/libpthread/nptl/pthread_self.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/pthread_self.c')
-rw-r--r--libpthread/nptl/pthread_self.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpthread/nptl/pthread_self.c b/libpthread/nptl/pthread_self.c
index f0e3b3f98..1ad528367 100644
--- a/libpthread/nptl/pthread_self.c
+++ b/libpthread/nptl/pthread_self.c
@@ -22,6 +22,7 @@
pthread_t
+attribute_protected
__pthread_self (void)
{
return (pthread_t) THREAD_SELF;