summary refs log tree commit diff
path: root/nptl/pthread_rwlock_trywrlock.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2012-12-28 21:25:07 +0100
committerAndreas Jaeger <aj@suse.de>2012-12-28 21:25:07 +0100
commitc93c5dec54a64563ce85b511053bd22161085d77 (patch)
treee4d22afd842e599564b7ff14682be6c3da345576 /nptl/pthread_rwlock_trywrlock.c
parentfdfc65d21f331c0f276a075e17a704183f701555 (diff)
downloadglibc-c93c5dec54a64563ce85b511053bd22161085d77.tar.gz
glibc-c93c5dec54a64563ce85b511053bd22161085d77.tar.xz
glibc-c93c5dec54a64563ce85b511053bd22161085d77.zip
Convert pthread_rwlock_try(rd/wr)lock to prototypes
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.
Diffstat (limited to 'nptl/pthread_rwlock_trywrlock.c')
-rw-r--r--nptl/pthread_rwlock_trywrlock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nptl/pthread_rwlock_trywrlock.c b/nptl/pthread_rwlock_trywrlock.c
index 92750b83a2..920cf366fa 100644
--- a/nptl/pthread_rwlock_trywrlock.c
+++ b/nptl/pthread_rwlock_trywrlock.c
@@ -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;