about summary refs log tree commit diff
path: root/nptl/pthread_barrier_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_barrier_init.c')
-rw-r--r--nptl/pthread_barrier_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/pthread_barrier_init.c b/nptl/pthread_barrier_init.c
index 82e13fb40d..5ea9fad291 100644
--- a/nptl/pthread_barrier_init.c
+++ b/nptl/pthread_barrier_init.c
@@ -29,7 +29,7 @@ static const struct pthread_barrierattr default_barrierattr =
 
 
 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;
@@ -68,3 +68,4 @@ pthread_barrier_init (barrier, attr, count)
 
   return 0;
 }
+weak_alias (__pthread_barrier_init, pthread_barrier_init)