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