summaryrefslogtreecommitdiffstats
path: root/src/H5Bcache.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-27 17:28:11 (GMT)
committerGitHub <noreply@github.com>2022-07-27 17:28:11 (GMT)
commita0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch)
tree3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /src/H5Bcache.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'src/H5Bcache.c')
-rw-r--r--src/H5Bcache.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/H5Bcache.c b/src/H5Bcache.c
index ec7457f..de741af 100644
--- a/src/H5Bcache.c
+++ b/src/H5Bcache.c
@@ -50,7 +50,7 @@
/* Metadata cache callbacks */
static herr_t H5B__cache_get_initial_load_size(void *udata, size_t *image_len);
-static void * H5B__cache_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
+static void *H5B__cache_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
static herr_t H5B__cache_image_len(const void *thing, size_t *image_len);
static herr_t H5B__cache_serialize(const H5F_t *f, void *image, size_t len, void *thing);
static herr_t H5B__cache_free_icr(void *thing);
@@ -97,7 +97,7 @@ static herr_t
H5B__cache_get_initial_load_size(void *_udata, size_t *image_len)
{
H5B_cache_ud_t *udata = (H5B_cache_ud_t *)_udata; /* User data for callback */
- H5B_shared_t * shared; /* Pointer to shared B-tree info */
+ H5B_shared_t *shared; /* Pointer to shared B-tree info */
FUNC_ENTER_STATIC_NOERR
@@ -132,13 +132,13 @@ static void *
H5B__cache_deserialize(const void *_image, size_t H5_ATTR_UNUSED len, void *_udata,
hbool_t H5_ATTR_UNUSED *dirty)
{
- H5B_t * bt = NULL; /* Pointer to the deserialized B-tree node */
+ H5B_t *bt = NULL; /* Pointer to the deserialized B-tree node */
H5B_cache_ud_t *udata = (H5B_cache_ud_t *)_udata; /* User data for callback */
- H5B_shared_t * shared; /* Pointer to shared B-tree info */
- const uint8_t * image = (const uint8_t *)_image; /* Pointer into image buffer */
- uint8_t * native; /* Pointer to native keys */
+ H5B_shared_t *shared; /* Pointer to shared B-tree info */
+ const uint8_t *image = (const uint8_t *)_image; /* Pointer into image buffer */
+ uint8_t *native; /* Pointer to native keys */
unsigned u; /* Local index variable */
- H5B_t * ret_value = NULL; /* Return value */
+ H5B_t *ret_value = NULL; /* Return value */
FUNC_ENTER_STATIC
@@ -235,7 +235,7 @@ done:
static herr_t
H5B__cache_image_len(const void *_thing, size_t *image_len)
{
- const H5B_t * bt = (const H5B_t *)_thing; /* Pointer to the B-tree node */
+ const H5B_t *bt = (const H5B_t *)_thing; /* Pointer to the B-tree node */
H5B_shared_t *shared; /* Pointer to shared B-tree info */
FUNC_ENTER_STATIC_NOERR
@@ -269,10 +269,10 @@ H5B__cache_image_len(const void *_thing, size_t *image_len)
static herr_t
H5B__cache_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED len, void *_thing)
{
- H5B_t * bt = (H5B_t *)_thing; /* Pointer to the B-tree node */
+ H5B_t *bt = (H5B_t *)_thing; /* Pointer to the B-tree node */
H5B_shared_t *shared; /* Pointer to shared B-tree info */
- uint8_t * image = (uint8_t *)_image; /* Pointer into image buffer */
- uint8_t * native; /* Pointer to native keys */
+ uint8_t *image = (uint8_t *)_image; /* Pointer into image buffer */
+ uint8_t *native; /* Pointer to native keys */
unsigned u; /* Local index counter */
herr_t ret_value = SUCCEED; /* Return value */