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