summaryrefslogtreecommitdiffstats
path: root/src/H5HG.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-29 13:36:40 (GMT)
committerGitHub <noreply@github.com>2022-07-29 13:36:40 (GMT)
commit40fc2cca16cd562954d3b724fa56badb3b9da72b (patch)
tree536b4bb51328af98ead7dfa1951f36b47f9b752a /src/H5HG.c
parentc63dfb0fd3345ecb33014612f94d3959f147be03 (diff)
downloadhdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.zip
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.gz
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.bz2
1.10 clang 13 format #1933 (#1940)
* clang 13 format #1933 * Correct workflow
Diffstat (limited to 'src/H5HG.c')
-rw-r--r--src/H5HG.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5HG.c b/src/H5HG.c
index c8ce7cd..ba70428 100644
--- a/src/H5HG.c
+++ b/src/H5HG.c
@@ -127,7 +127,7 @@ static haddr_t
H5HG__create(H5F_t *f, size_t size)
{
H5HG_heap_t *heap = NULL;
- uint8_t * p = NULL;
+ uint8_t *p = NULL;
haddr_t addr = HADDR_UNDEF;
size_t n;
haddr_t ret_value = HADDR_UNDEF; /* Return value */
@@ -410,8 +410,8 @@ H5HG_extend(H5F_t *f, haddr_t addr, size_t need)
H5HG_heap_t *heap = NULL; /* Pointer to heap to extend */
unsigned heap_flags = H5AC__NO_FLAGS_SET; /* Flags to unprotecting heap */
size_t old_size; /* Previous size of the heap's chunk */
- uint8_t * new_chunk; /* Pointer to new chunk information */
- uint8_t * p; /* Pointer to raw heap info */
+ uint8_t *new_chunk; /* Pointer to new chunk information */
+ uint8_t *p; /* Pointer to raw heap info */
unsigned u; /* Local index variable */
herr_t ret_value = SUCCEED; /* Return value */
@@ -584,9 +584,9 @@ H5HG_read(H5F_t *f, H5HG_t *hobj, void *object /*out*/, size_t *buf_size)
{
H5HG_heap_t *heap = NULL; /* Pointer to global heap object */
size_t size; /* Size of the heap object */
- uint8_t * p; /* Pointer to object in heap buffer */
- void * orig_object = object; /* Keep a copy of the original object pointer */
- void * ret_value = NULL; /* Return value */
+ uint8_t *p; /* Pointer to object in heap buffer */
+ void *orig_object = object; /* Keep a copy of the original object pointer */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_NOAPI_TAG(H5AC__GLOBALHEAP_TAG, NULL)
@@ -751,7 +751,7 @@ herr_t
H5HG_remove(H5F_t *f, H5HG_t *hobj)
{
H5HG_heap_t *heap = NULL;
- uint8_t * p = NULL, *obj_start = NULL;
+ uint8_t *p = NULL, *obj_start = NULL;
size_t need;
unsigned u;
unsigned flags = H5AC__NO_FLAGS_SET; /* Whether the heap gets deleted */