summaryrefslogtreecommitdiffstats
path: root/src/H5Glink.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 /src/H5Glink.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 'src/H5Glink.c')
-rw-r--r--src/H5Glink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Glink.c b/src/H5Glink.c
index f3bf53e..37aad84 100644
--- a/src/H5Glink.c
+++ b/src/H5Glink.c
@@ -416,18 +416,18 @@ H5G__link_sort_table(H5G_link_table_t *ltable, H5_index_t idx_type, H5_iter_orde
/* Pick appropriate sorting routine */
if (idx_type == H5_INDEX_NAME) {
if (order == H5_ITER_INC)
- HDqsort(ltable->lnks, ltable->nlinks, sizeof(H5O_link_t), H5G__link_cmp_name_inc);
+ qsort(ltable->lnks, ltable->nlinks, sizeof(H5O_link_t), H5G__link_cmp_name_inc);
else if (order == H5_ITER_DEC)
- HDqsort(ltable->lnks, ltable->nlinks, sizeof(H5O_link_t), H5G__link_cmp_name_dec);
+ qsort(ltable->lnks, ltable->nlinks, sizeof(H5O_link_t), H5G__link_cmp_name_dec);
else
HDassert(order == H5_ITER_NATIVE);
} /* end if */
else {
HDassert(idx_type == H5_INDEX_CRT_ORDER);
if (order == H5_ITER_INC)
- HDqsort(ltable->lnks, ltable->nlinks, sizeof(H5O_link_t), H5G__link_cmp_corder_inc);
+ qsort(ltable->lnks, ltable->nlinks, sizeof(H5O_link_t), H5G__link_cmp_corder_inc);
else if (order == H5_ITER_DEC)
- HDqsort(ltable->lnks, ltable->nlinks, sizeof(H5O_link_t), H5G__link_cmp_corder_dec);
+ qsort(ltable->lnks, ltable->nlinks, sizeof(H5O_link_t), H5G__link_cmp_corder_dec);
else
HDassert(order == H5_ITER_NATIVE);
} /* end else */