diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-28 01:19:22 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-28 01:19:22 +0200 |
commit | 4b90d3f6146154638ffbe227da48e9af0dd2a803 (patch) | |
tree | 7e034f416b4b7e95a76b99418df21e64e795e22a /sysdeps/generic/pt-rwlock-timedwrlock.c | |
parent | b1f57fa0cf5515263bebcefe1044995ebaf9a1f3 (diff) |
Fix coding style
Diffstat (limited to 'sysdeps/generic/pt-rwlock-timedwrlock.c')
-rw-r--r-- | sysdeps/generic/pt-rwlock-timedwrlock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/pt-rwlock-timedwrlock.c b/sysdeps/generic/pt-rwlock-timedwrlock.c index 3eddbe9..3a3faad 100644 --- a/sysdeps/generic/pt-rwlock-timedwrlock.c +++ b/sysdeps/generic/pt-rwlock-timedwrlock.c @@ -65,7 +65,7 @@ __pthread_rwlock_timedwrlock_internal (struct __pthread_rwlock *rwlock, } __pthread_spin_lock (&rwlock->__lock); - if (! self->prevp) + if (!self->prevp) /* Another thread removed us from the queue, which means a wakeup message has been sent. It was either consumed while we were blocking, or queued after we timed out and before we acquired the rwlock lock, in @@ -74,7 +74,7 @@ __pthread_rwlock_timedwrlock_internal (struct __pthread_rwlock *rwlock, else { /* We're still in the queue. Noone attempted to wake us up, i.e. we - timed out. */ + timed out. */ __pthread_dequeue (self); drain = 0; } @@ -96,7 +96,7 @@ __pthread_rwlock_timedwrlock_internal (struct __pthread_rwlock *rwlock, int __pthread_rwlock_timedwrlock (struct __pthread_rwlock *rwlock, - const struct timespec *abstime) + const struct timespec *abstime) { return __pthread_rwlock_timedwrlock_internal (rwlock, abstime); } |