diff options
| author | Alexander Langer <alex@FreeBSD.org> | 1998-09-07 21:07:59 +0000 |
|---|---|---|
| committer | Alexander Langer <alex@FreeBSD.org> | 1998-09-07 21:07:59 +0000 |
| commit | e66632a35c2d0c36644ac18055ae2b435e70282a (patch) | |
| tree | 2c31f1b1c64ecf02bdbac8d11d6e8a87c26cb7ea /lib/libpthread/thread | |
| parent | d54358ffe560e956d0145324d045eb1feb693f63 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread')
| -rw-r--r-- | lib/libpthread/thread/thr_rwlock.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libpthread/thread/thr_rwlock.c b/lib/libpthread/thread/thr_rwlock.c index ce91edf60e10..f398a1857d4a 100644 --- a/lib/libpthread/thread/thr_rwlock.c +++ b/lib/libpthread/thread/thr_rwlock.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: uthread_rwlock.c,v 1.1 1998/09/07 19:01:43 alex Exp $ + * $Id: uthread_rwlock.c,v 1.2 1998/09/07 19:23:55 alex Exp $ */ #ifdef _THREAD_SAFE @@ -130,7 +130,7 @@ int pthread_rwlock_rdlock (pthread_rwlock_t *rwlock) { pthread_rwlock_t prwlock; - int ret = 0; + int ret; if (rwlock == NULL) return(EINVAL); @@ -181,7 +181,7 @@ int pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock) { pthread_rwlock_t prwlock; - int ret = 0; + int ret; if (rwlock == NULL) return(EINVAL); @@ -218,7 +218,7 @@ int pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock) { pthread_rwlock_t prwlock; - int ret = 0; + int ret; if (rwlock == NULL) return(EINVAL); @@ -253,7 +253,7 @@ int pthread_rwlock_unlock (pthread_rwlock_t *rwlock) { pthread_rwlock_t prwlock; - int ret = 0; + int ret; if (rwlock == NULL) return(EINVAL); @@ -290,7 +290,7 @@ int pthread_rwlock_wrlock (pthread_rwlock_t *rwlock) { pthread_rwlock_t prwlock; - int ret = 0; + int ret; if (rwlock == NULL) return(EINVAL); |
