00db10
commit c93c5dec54a64563ce85b511053bd22161085d77
00db10
Author: Andi Kleen <ak@linux.intel.com>
00db10
Date:   Fri Dec 28 21:25:07 2012 +0100
00db10
00db10
    Convert pthread_rwlock_try(rd/wr)lock to prototypes
00db10
    
00db10
    2012-12-28  Andi Kleen  <ak@linux.intel.com>
00db10
    
00db10
            * pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
00db10
            * Convert
00db10
            to prototype.
00db10
            * pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
00db10
            Likewise.
00db10
00db10
diff --git a/nptl/pthread_rwlock_tryrdlock.c b/nptl/pthread_rwlock_tryrdlock.c
00db10
index beaa970acfc6c0a3..1a492364154f6828 100644
00db10
--- a/nptl/pthread_rwlock_tryrdlock.c
00db10
+++ b/nptl/pthread_rwlock_tryrdlock.c
00db10
@@ -1,4 +1,4 @@
00db10
-/* Copyright (C) 2002, 2007 Free Software Foundation, Inc.
00db10
+/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
00db10
    This file is part of the GNU C Library.
00db10
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
00db10
 
00db10
@@ -22,8 +22,7 @@
00db10
 
00db10
 
00db10
 int
00db10
-__pthread_rwlock_tryrdlock (rwlock)
00db10
-     pthread_rwlock_t *rwlock;
00db10
+__pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock)
00db10
 {
00db10
   int result = EBUSY;
00db10
 
00db10
diff --git a/nptl/pthread_rwlock_trywrlock.c b/nptl/pthread_rwlock_trywrlock.c
00db10
index 92750b83a209c959..920cf366fa73e4ce 100644
00db10
--- a/nptl/pthread_rwlock_trywrlock.c
00db10
+++ b/nptl/pthread_rwlock_trywrlock.c
00db10
@@ -1,4 +1,4 @@
00db10
-/* Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
00db10
+/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
00db10
    This file is part of the GNU C Library.
00db10
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
00db10
 
00db10
@@ -22,8 +22,7 @@
00db10
 
00db10
 
00db10
 int
00db10
-__pthread_rwlock_trywrlock (rwlock)
00db10
-     pthread_rwlock_t *rwlock;
00db10
+__pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock)
00db10
 {
00db10
   int result = EBUSY;
00db10