mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-10 05:03:06 +03:00
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.
This commit is contained in:
committed by
Andreas Jaeger
parent
fdfc65d21f
commit
c93c5dec54
@@ -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>
|
2012-12-27 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h
|
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h
|
||||||
|
@@ -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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
__pthread_rwlock_tryrdlock (rwlock)
|
__pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock)
|
||||||
pthread_rwlock_t *rwlock;
|
|
||||||
{
|
{
|
||||||
int result = EBUSY;
|
int result = EBUSY;
|
||||||
|
|
||||||
|
@@ -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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
__pthread_rwlock_trywrlock (rwlock)
|
__pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock)
|
||||||
pthread_rwlock_t *rwlock;
|
|
||||||
{
|
{
|
||||||
int result = EBUSY;
|
int result = EBUSY;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user