diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-28 02:06:28 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-28 02:06:28 +0200 |
commit | ec6bfe8db3d731428008a8715fcd523a491a934c (patch) | |
tree | 803bd57c01f629cd32eadbd2a18eacbe3b5ad3f1 /sysdeps/mach/hurd/pt-mutex-timedlock.c | |
parent | 8657c93f0adeefd1b50d54ae30aa0a4ba2d89827 (diff) |
Fix coding style
Diffstat (limited to 'sysdeps/mach/hurd/pt-mutex-timedlock.c')
-rw-r--r-- | sysdeps/mach/hurd/pt-mutex-timedlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/pt-mutex-timedlock.c b/sysdeps/mach/hurd/pt-mutex-timedlock.c index b6308f8..4119291 100644 --- a/sysdeps/mach/hurd/pt-mutex-timedlock.c +++ b/sysdeps/mach/hurd/pt-mutex-timedlock.c @@ -40,7 +40,7 @@ pthread_mutex_timedlock (pthread_mutex_t *mtxp, const struct timespec *tsp) if (mtx_owned_p (mtxp, self, flags)) { if (__glibc_unlikely (mtxp->__cnt + 1 == 0)) - return (EAGAIN); + return EAGAIN; ++mtxp->__cnt; ret = 0; @@ -74,5 +74,5 @@ pthread_mutex_timedlock (pthread_mutex_t *mtxp, const struct timespec *tsp) break; } - return (ret); + return ret; } |