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