summaryrefslogtreecommitdiffstats
path: root/test/titerate.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/titerate.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/titerate.c')
-rw-r--r--test/titerate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/titerate.c b/test/titerate.c
index d870750..f422f7c 100644
--- a/test/titerate.c
+++ b/test/titerate.c
@@ -130,7 +130,7 @@ test_iter_group(hid_t fapl, hbool_t new_format)
int i; /* counting variable */
hsize_t idx; /* Index in the group */
char name[NAMELEN]; /* temporary name buffer */
- char * lnames[NDATASETS + 2]; /* Names of the links created */
+ char *lnames[NDATASETS + 2]; /* Names of the links created */
char dataset_name[NAMELEN]; /* dataset name */
iter_info info; /* Custom iteration information */
H5G_info_t ginfo; /* Buffer for querying object's info */
@@ -418,7 +418,7 @@ test_iter_attr(hid_t fapl, hbool_t new_format)
int i; /* counting variable */
hsize_t idx; /* Index in the attribute list */
char name[NAMELEN]; /* temporary name buffer */
- char * anames[NATTR]; /* Names of the attributes created */
+ char *anames[NATTR]; /* Names of the attributes created */
iter_info info; /* Custom iteration information */
herr_t ret; /* Generic return value */
@@ -745,8 +745,8 @@ test_grp_memb_funcs(hid_t fapl)
hid_t root_group, grp; /* Root group ID */
int i; /* counting variable */
char name[NAMELEN]; /* temporary name buffer */
- char * dnames[NDATASETS + 2]; /* Names of the datasets created */
- char * obj_names[NDATASETS + 2]; /* Names of the objects in group */
+ char *dnames[NDATASETS + 2]; /* Names of the datasets created */
+ char *obj_names[NDATASETS + 2]; /* Names of the objects in group */
char dataset_name[NAMELEN]; /* dataset name */
ssize_t name_len; /* Length of object's name */
H5G_info_t ginfo; /* Buffer for querying object's info */
@@ -1010,7 +1010,7 @@ test_corrupted_attnamelen(void)
int err_status; /* Status returned by H5Aiterate2 */
herr_t ret; /* Return value */
hbool_t driver_is_default_compatible;
- const char * testfile = H5_get_srcdir_filename(CORRUPTED_ATNAMELEN_FILE); /* Corrected test file name */
+ const char *testfile = H5_get_srcdir_filename(CORRUPTED_ATNAMELEN_FILE); /* Corrected test file name */
const char *err_message = "attribute name has different length than stored length";
/* the error message produced when the failure occurs */