Blame SOURCES/glibc-rh1505492-prototypes-1.patch

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