summaryrefslogtreecommitdiffstats
path: root/test/titerate.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 14:30:54 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:30:54 (GMT)
commit6df077953ed8be3ac9ed247aaeac0c7f502161c9 (patch)
tree9c75a06d0c52c788a144435508d6a38e34c50757 /test/titerate.c
parentf5ca9237a296f6deefb633b6fb1d61daea4b4f6e (diff)
downloadhdf5-6df077953ed8be3ac9ed247aaeac0c7f502161c9.zip
hdf5-6df077953ed8be3ac9ed247aaeac0c7f502161c9.tar.gz
hdf5-6df077953ed8be3ac9ed247aaeac0c7f502161c9.tar.bz2
Rename HDqsort() to qsort() (#3193)
* Rename HDqsort() to qsort() * Committing clang-format changes --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/titerate.c')
-rw-r--r--test/titerate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/titerate.c b/test/titerate.c
index 674405c..458be8e 100644
--- a/test/titerate.c
+++ b/test/titerate.c
@@ -194,7 +194,7 @@ test_iter_group(hid_t fapl, hbool_t new_format)
CHECK(ret, FAIL, "H5Fclose");
/* Sort the dataset names */
- HDqsort(lnames, (size_t)(NDATASETS + 2), sizeof(char *), iter_strcmp);
+ qsort(lnames, (size_t)(NDATASETS + 2), sizeof(char *), iter_strcmp);
/* Iterate through the datasets in the root group in various ways */
file = H5Fopen(DATAFILE, H5F_ACC_RDONLY, fapl);
@@ -706,7 +706,7 @@ test_iter_group_large(hid_t fapl)
CHECK(ret, FAIL, "H5Tclose");
/* Need to sort the names in the root group, cause that's what the library does */
- HDqsort(names, (size_t)(ITER_NGROUPS + 2), sizeof(iter_info), iter_strcmp2);
+ qsort(names, (size_t)(ITER_NGROUPS + 2), sizeof(iter_info), iter_strcmp2);
/* Iterate through the file to see members of the root group */
curr_name = &names[0];
@@ -804,7 +804,7 @@ test_grp_memb_funcs(hid_t fapl)
CHECK(ret, FAIL, "H5Fclose");
/* Sort the dataset names */
- HDqsort(dnames, (size_t)(NDATASETS + 2), sizeof(char *), iter_strcmp);
+ qsort(dnames, (size_t)(NDATASETS + 2), sizeof(char *), iter_strcmp);
/* Iterate through the datasets in the root group in various ways */
file = H5Fopen(DATAFILE, H5F_ACC_RDONLY, fapl);
@@ -861,7 +861,7 @@ test_grp_memb_funcs(hid_t fapl)
VERIFY(ret, FAIL, "H5Lget_name_by_idx");
/* Sort the dataset names */
- HDqsort(obj_names, (size_t)(NDATASETS + 2), sizeof(char *), iter_strcmp);
+ qsort(obj_names, (size_t)(NDATASETS + 2), sizeof(char *), iter_strcmp);
/* Compare object names */
for (i = 0; i < (int)ginfo.nlinks; i++) {