From a094129132ac9cddddb9b0a5ef82fb6c21a03221 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:45:41 +0000 Subject: [PATCH] Committing clang-format changes --- src/H5TSdlftt_mutex.c | 2 +- src/H5TSdlftt_mutex.h | 6 +++--- src/H5TSprivate.h | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/H5TSdlftt_mutex.c b/src/H5TSdlftt_mutex.c index 86d55539c40..3f1013dacc9 100644 --- a/src/H5TSdlftt_mutex.c +++ b/src/H5TSdlftt_mutex.c @@ -78,7 +78,7 @@ H5TS_dlftt_mutex_init(H5TS_dlftt_mutex_t *mutex) if (H5_UNLIKELY(H5TS_mutex_init(&mutex->mtx, H5TS_MUTEX_TYPE_PLAIN)) < 0) HGOTO_DONE(FAIL); mutex->bypass = false; - mutex->rc = 0; + mutex->rc = 0; done: FUNC_LEAVE_NOAPI_NAMECHECK_ONLY(ret_value) diff --git a/src/H5TSdlftt_mutex.h b/src/H5TSdlftt_mutex.h index c653cb05308..e7ca04dafe4 100644 --- a/src/H5TSdlftt_mutex.h +++ b/src/H5TSdlftt_mutex.h @@ -117,7 +117,7 @@ H5TS_dlftt_mutex_acquire(H5TS_dlftt_mutex_t *mtx) /* Increment refcount */ mtx->rc++; else { - unsigned dlftt = 0; + unsigned dlftt = 0; /* Query the DLFTT value */ if (H5_UNLIKELY(H5TS__get_dlftt(&dlftt) < 0)) @@ -132,9 +132,9 @@ H5TS_dlftt_mutex_acquire(H5TS_dlftt_mutex_t *mtx) else { /* Indicate that lock should be bypassed */ mtx->bypass = true; - mtx->rc = 1; + mtx->rc = 1; } /* end else */ - } /* end else */ + } /* end else */ return SUCCEED; } /* end H5TS_dlftt_mutex_acquire() */ diff --git a/src/H5TSprivate.h b/src/H5TSprivate.h index 0fe4e383706..dc5caa91d0a 100644 --- a/src/H5TSprivate.h +++ b/src/H5TSprivate.h @@ -308,9 +308,9 @@ typedef atomic_flag H5TS_spinlock_t; /* Mutex that efficiently obeys the "DLFTT" locking protocol */ typedef struct H5TS_dlftt_mutex_t { - H5TS_mutex_t mtx; /* Underlying mutex */ - bool bypass; /* Whether locking is being bypassed (due to DLFTT protocol) */ - unsigned rc; /* Refcount of locks bypassed */ + H5TS_mutex_t mtx; /* Underlying mutex */ + bool bypass; /* Whether locking is being bypassed (due to DLFTT protocol) */ + unsigned rc; /* Refcount of locks bypassed */ } H5TS_dlftt_mutex_t; /*****************************/