]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Convert pthread_rwlock_try(rd/wr)lock to prototypes
authorAndi Kleen <ak@linux.intel.com>
Fri, 28 Dec 2012 20:25:07 +0000 (21:25 +0100)
committerAndreas Jaeger <aj@suse.de>
Fri, 28 Dec 2012 20:25:07 +0000 (21:25 +0100)
2012-12-28  Andi Kleen  <ak@linux.intel.com>

        * pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
        * Convert
to prototype.
        * pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
Likewise.

nptl/ChangeLog
nptl/pthread_rwlock_tryrdlock.c
nptl/pthread_rwlock_trywrlock.c

index 03dd156dbb62c5d5a950a0682bec339468bc039b..3022aadb6054c6c12bb6ded87963d3e459e3cf2b 100644 (file)
@@ -1,3 +1,10 @@
+2012-12-28  Andi Kleen  <ak@linux.intel.com>
+
+        * pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock): Convert
+       to prototype.
+        * pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
+       Likewise.
+
 2012-12-27  David S. Miller  <davem@davemloft.net>
 
        * sysdeps/unix/sysv/linux/sparc/lowlevellock.h
index beaa970acfc6c0a39160a9264a9b2dc1bc85e835..1a492364154f6828862246a41c21d29d2e8bcdc2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -22,8 +22,7 @@
 
 
 int
-__pthread_rwlock_tryrdlock (rwlock)
-     pthread_rwlock_t *rwlock;
+__pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock)
 {
   int result = EBUSY;
 
index 92750b83a209c95949953d612b0fd5751d07a169..920cf366fa73e4ce47b7440e17af3032a13b29d1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -22,8 +22,7 @@
 
 
 int
-__pthread_rwlock_trywrlock (rwlock)
-     pthread_rwlock_t *rwlock;
+__pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock)
 {
   int result = EBUSY;