summaryrefslogtreecommitdiffstats
path: root/src/H5Bcache.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-26 21:45:46 (GMT)
committerGitHub <noreply@github.com>2022-07-26 21:45:46 (GMT)
commitae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch)
treeb616f33f5daa89f213e7c64e04c63afde906e939 /src/H5Bcache.c
parent213eac2588369f75a11df6bb1788dde33c4b82e2 (diff)
downloadhdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.zip
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.gz
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.bz2
Develop clang 13 format (#1933)
* Update format source to clang 13 * More format changes
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 0c179d7..fd992c2 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_PACKAGE_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_PACKAGE
@@ -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_PACKAGE_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 */