aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_barrier_init.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-18 13:44:05 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-18 13:44:05 +0530
commit69854bb5e9d734784b08a8ab1391ac8a8f5256c1 (patch)
tree09a03fcc3d2cd4b13b7381a14562f34a04b88802 /nptl/pthread_barrier_init.c
parentb2e1393c60e8350a97514750002919c156c28bff (diff)
downloadglibc-69854bb5e9d734784b08a8ab1391ac8a8f5256c1.tar
glibc-69854bb5e9d734784b08a8ab1391ac8a8f5256c1.tar.gz
glibc-69854bb5e9d734784b08a8ab1391ac8a8f5256c1.tar.bz2
glibc-69854bb5e9d734784b08a8ab1391ac8a8f5256c1.zip
Rename some static variables
Rename some static variables to give them unique names.
Diffstat (limited to 'nptl/pthread_barrier_init.c')
-rw-r--r--nptl/pthread_barrier_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_barrier_init.c b/nptl/pthread_barrier_init.c
index d5891fd41e..6d2910ef95 100644
--- a/nptl/pthread_barrier_init.c
+++ b/nptl/pthread_barrier_init.c
@@ -22,7 +22,7 @@
#include <kernel-features.h>
-static const struct pthread_barrierattr default_attr =
+static const struct pthread_barrierattr default_barrierattr =
{
.pshared = PTHREAD_PROCESS_PRIVATE
};
@@ -42,7 +42,7 @@ pthread_barrier_init (barrier, attr, count)
const struct pthread_barrierattr *iattr
= (attr != NULL
? iattr = (struct pthread_barrierattr *) attr
- : &default_attr);
+ : &default_barrierattr);
if (iattr->pshared != PTHREAD_PROCESS_PRIVATE
&& __builtin_expect (iattr->pshared != PTHREAD_PROCESS_SHARED, 0))