summaryrefslogtreecommitdiffstats
path: root/src/H5Spoint.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/H5Spoint.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'src/H5Spoint.c')
-rw-r--r--src/H5Spoint.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/H5Spoint.c b/src/H5Spoint.c
index 56daad1..01db1f6 100644
--- a/src/H5Spoint.c
+++ b/src/H5Spoint.c
@@ -1001,7 +1001,7 @@ done:
hssize_t
H5Sget_select_elem_npoints(hid_t spaceid)
{
- H5S_t * space; /* Dataspace to modify selection of */
+ H5S_t *space; /* Dataspace to modify selection of */
hssize_t ret_value; /* return value */
FUNC_ENTER_API(FAIL)
@@ -1221,8 +1221,8 @@ static herr_t
H5S__point_serialize(H5S_t *space, uint8_t **p)
{
H5S_pnt_node_t *curr; /* Point information nodes */
- uint8_t * pp; /* Local pointer for encoding */
- uint8_t * lenp = NULL; /* pointer to length location for later storage */
+ uint8_t *pp; /* Local pointer for encoding */
+ uint8_t *lenp = NULL; /* pointer to length location for later storage */
uint32_t len = 0; /* number of bytes used */
unsigned u; /* local counting variable */
uint32_t version; /* Version number */
@@ -1358,7 +1358,7 @@ H5S__point_deserialize(H5S_t **space, const uint8_t **p)
hsize_t dims[H5S_MAX_RANK]; /* Dimension sizes */
uint32_t version; /* Version number */
uint8_t enc_size = 0; /* Encoded size of selection info */
- hsize_t * coord = NULL, *tcoord; /* Pointer to array of elements */
+ hsize_t *coord = NULL, *tcoord; /* Pointer to array of elements */
const uint8_t *pp; /* Local pointer for decoding */
uint64_t num_elem = 0; /* Number of elements in selection */
unsigned rank; /* Rank of points */
@@ -1415,8 +1415,8 @@ H5S__point_deserialize(H5S_t **space, const uint8_t **p)
else
/* Verify the rank of the provided dataspace */
if (rank != tmp_space->extent.rank)
- HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, FAIL,
- "rank of serialized selection does not match dataspace")
+ HGOTO_ERROR(H5E_DATASPACE, H5E_BADRANGE, FAIL,
+ "rank of serialized selection does not match dataspace")
/* decode the number of points */
switch (enc_size) {
@@ -1691,9 +1691,9 @@ done:
static herr_t
H5S__point_offset(const H5S_t *space, hsize_t *offset)
{
- const hsize_t * pnt; /* Pointer to a selected point's coordinates */
+ const hsize_t *pnt; /* Pointer to a selected point's coordinates */
const hssize_t *sel_offset; /* Pointer to the selection's offset */
- const hsize_t * dim_size; /* Pointer to a dataspace's extent */
+ const hsize_t *dim_size; /* Pointer to a dataspace's extent */
hsize_t accum; /* Accumulator for dimension sizes */
int i; /* index variable */
herr_t ret_value = SUCCEED; /* Return value */
@@ -2230,8 +2230,8 @@ static herr_t
H5S__point_project_simple(const H5S_t *base_space, H5S_t *new_space, hsize_t *offset)
{
const H5S_pnt_node_t *base_node; /* Point node in base space */
- H5S_pnt_node_t * new_node; /* Point node in new space */
- H5S_pnt_node_t * prev_node; /* Previous point node in new space */
+ H5S_pnt_node_t *new_node; /* Point node in new space */
+ H5S_pnt_node_t *prev_node; /* Previous point node in new space */
unsigned rank_diff; /* Difference in ranks between spaces */
unsigned u; /* Local index variable */
herr_t ret_value = SUCCEED; /* Return value */