From 69854bb5e9d734784b08a8ab1391ac8a8f5256c1 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Mon, 18 Mar 2013 13:44:05 +0530 Subject: Rename some static variables Rename some static variables to give them unique names. --- nptl/pthread_rwlock_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nptl/pthread_rwlock_init.c') diff --git a/nptl/pthread_rwlock_init.c b/nptl/pthread_rwlock_init.c index 16bfe2d757..29bef71db3 100644 --- a/nptl/pthread_rwlock_init.c +++ b/nptl/pthread_rwlock_init.c @@ -21,7 +21,7 @@ #include -static const struct pthread_rwlockattr default_attr = +static const struct pthread_rwlockattr default_rwlockattr = { .lockkind = PTHREAD_RWLOCK_DEFAULT_NP, .pshared = PTHREAD_PROCESS_PRIVATE @@ -35,7 +35,7 @@ __pthread_rwlock_init (rwlock, attr) { const struct pthread_rwlockattr *iattr; - iattr = ((const struct pthread_rwlockattr *) attr) ?: &default_attr; + iattr = ((const struct pthread_rwlockattr *) attr) ?: &default_rwlockattr; memset (rwlock, '\0', sizeof (*rwlock)); -- cgit 1.4.1