diff options
author | alex <alex@FreeBSD.org> | 1998-09-07 21:07:59 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 1998-09-07 21:07:59 +0000 |
commit | fff0f057805582731b159f9a5aa58c84fe3b323e (patch) | |
tree | 16c63c6b61564abb4ad128a942438fb100f21e70 /lib/libc_r | |
parent | a56985289c651e6136025fd86f8a6ed1ba8ce30e (diff) | |
download | FreeBSD-src-fff0f057805582731b159f9a5aa58c84fe3b323e.zip FreeBSD-src-fff0f057805582731b159f9a5aa58c84fe3b323e.tar.gz |
Removed some variable initializations which were unnecessary and divergent
from style(9).
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/uthread/uthread_rwlock.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc_r/uthread/uthread_rwlock.c b/lib/libc_r/uthread/uthread_rwlock.c index ce91edf..f398a18 100644 --- a/lib/libc_r/uthread/uthread_rwlock.c +++ b/lib/libc_r/uthread/uthread_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); |