summaryrefslogtreecommitdiff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/nptl/pthread_barrier_init.c3
-rw-r--r--sysdeps/sparc/nptl/pthread_barrier_wait.c3
-rw-r--r--sysdeps/sparc/sparc32/pthread_barrier_wait.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/sparc/nptl/pthread_barrier_init.c b/sysdeps/sparc/nptl/pthread_barrier_init.c
index 01bd18afa0..aa21a63f2d 100644
--- a/sysdeps/sparc/nptl/pthread_barrier_init.c
+++ b/sysdeps/sparc/nptl/pthread_barrier_init.c
@@ -22,7 +22,7 @@
#include <sparc-nptl.h>
int
-pthread_barrier_init (barrier, attr, count)
+__pthread_barrier_init (barrier, attr, count)
pthread_barrier_t *barrier;
const pthread_barrierattr_t *attr;
unsigned int count;
@@ -53,3 +53,4 @@ pthread_barrier_init (barrier, attr, count)
return 0;
}
+weak_alias (__pthread_barrier_init, pthread_barrier_init)
diff --git a/sysdeps/sparc/nptl/pthread_barrier_wait.c b/sysdeps/sparc/nptl/pthread_barrier_wait.c
index b0437a1505..dd4c336dc2 100644
--- a/sysdeps/sparc/nptl/pthread_barrier_wait.c
+++ b/sysdeps/sparc/nptl/pthread_barrier_wait.c
@@ -24,7 +24,7 @@
/* Wait on barrier. */
int
-pthread_barrier_wait (barrier)
+__pthread_barrier_wait (barrier)
pthread_barrier_t *barrier;
{
union sparc_pthread_barrier *ibarrier
@@ -76,3 +76,4 @@ pthread_barrier_wait (barrier)
return result;
}
+weak_alias (__pthread_barrier_wait, pthread_barrier_wait)
diff --git a/sysdeps/sparc/sparc32/pthread_barrier_wait.c b/sysdeps/sparc/sparc32/pthread_barrier_wait.c
index afab20311a..81d22b0653 100644
--- a/sysdeps/sparc/sparc32/pthread_barrier_wait.c
+++ b/sysdeps/sparc/sparc32/pthread_barrier_wait.c
@@ -24,7 +24,7 @@
/* Wait on barrier. */
int
-pthread_barrier_wait (barrier)
+__pthread_barrier_wait (barrier)
pthread_barrier_t *barrier;
{
union sparc_pthread_barrier *ibarrier
@@ -92,3 +92,4 @@ pthread_barrier_wait (barrier)
return result;
}
+weak_alias (__pthread_barrier_wait, pthread_barrier_wait)