summaryrefslogtreecommitdiffstats
path: root/test/th5s.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 /test/th5s.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 'test/th5s.c')
-rw-r--r--test/th5s.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/th5s.c b/test/th5s.c
index ac82646..a9959ce 100644
--- a/test/th5s.c
+++ b/test/th5s.c
@@ -1601,7 +1601,7 @@ static herr_t
test_h5s_check_encoding(hid_t in_fapl, hid_t in_sid, uint32_t expected_version, uint8_t expected_enc_size,
hbool_t expected_to_fail)
{
- char * buf = NULL; /* Pointer to the encoded buffer */
+ char *buf = NULL; /* Pointer to the encoded buffer */
size_t buf_size; /* Size of the encoded buffer */
hid_t d_sid = -1; /* The decoded dataspace ID */
htri_t check;
@@ -2500,9 +2500,9 @@ test_h5s_chunk(void)
hsize_t dims[2];
hsize_t csize[2];
double **chunk_data_dbl = NULL;
- double * chunk_data_dbl_data = NULL;
- float ** chunk_data_flt = NULL;
- float * chunk_data_flt_data = NULL;
+ double *chunk_data_dbl_data = NULL;
+ float **chunk_data_flt = NULL;
+ float *chunk_data_flt_data = NULL;
int i, j;
/* Allocate memory */
@@ -3291,7 +3291,7 @@ test_versionbounds(void)
hid_t dset_space = -1; /* Retrieved dataset's dataspace ID */
hsize_t dim[1]; /* Dataset dimensions */
H5F_libver_t low, high; /* File format bounds */
- H5S_t * spacep = NULL; /* Pointer to internal dataspace */
+ H5S_t *spacep = NULL; /* Pointer to internal dataspace */
herr_t ret = 0; /* Generic return value */
/* Output message about test being performed */