Blame SOURCES/glibc-rh1505492-prototypes-rwlock.patch

147e83
Introduce prototype-style function definitions for
147e83
__pthread_rwlock_rdlock, __pthread_rwlock_wrlock.  Upstream did this as
147e83
part of:
147e83
147e83
commit a832bdd36203fcb37fa5ad25200ef3c1ae205efe
147e83
Author: Andi Kleen <ak@linux.intel.com>
147e83
Date:   Mon Mar 17 05:48:28 2014 -0700
147e83
147e83
    Add a fast path for C rd/wrlock v2
147e83
147e83
diff --git a/nptl/pthread_rwlock_rdlock.c b/nptl/pthread_rwlock_rdlock.c
147e83
index 2c176c7cb9ab4b7f..4c397d784b82a510 100644
147e83
--- a/nptl/pthread_rwlock_rdlock.c
147e83
+++ b/nptl/pthread_rwlock_rdlock.c
147e83
@@ -26,8 +26,7 @@
147e83
 
147e83
 /* Acquire read lock for RWLOCK.  */
147e83
 int
147e83
-__pthread_rwlock_rdlock (rwlock)
147e83
-     pthread_rwlock_t *rwlock;
147e83
+__pthread_rwlock_rdlock (pthread_rwlock_t *rwlock)
147e83
 {
147e83
   int result = 0;
147e83
 
147e83
diff --git a/nptl/pthread_rwlock_wrlock.c b/nptl/pthread_rwlock_wrlock.c
147e83
index 1476d1370d56475a..3dcc42b774eef8de 100644
147e83
--- a/nptl/pthread_rwlock_wrlock.c
147e83
+++ b/nptl/pthread_rwlock_wrlock.c
147e83
@@ -26,8 +26,7 @@
147e83
 
147e83
 /* Acquire write lock for RWLOCK.  */
147e83
 int
147e83
-__pthread_rwlock_wrlock (rwlock)
147e83
-     pthread_rwlock_t *rwlock;
147e83
+__pthread_rwlock_wrlock (pthread_rwlock_t *rwlock)
147e83
 {
147e83
   int result = 0;
147e83