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