summaryrefslogtreecommitdiffstats
path: root/src/H5Cimage.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/H5Cimage.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/H5Cimage.c')
-rw-r--r--src/H5Cimage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Cimage.c b/src/H5Cimage.c
index 69def29..8582d5d 100644
--- a/src/H5Cimage.c
+++ b/src/H5Cimage.c
@@ -1062,8 +1062,8 @@ H5C__prep_image_for_file_close(H5F_t *f, hbool_t *image_generated)
HGOTO_ERROR(H5E_CACHE, H5E_CANTINIT, FAIL, "can't setup image entries array.")
/* Sort the entries */
- HDqsort(cache_ptr->image_entries, (size_t)cache_ptr->num_entries_in_image,
- sizeof(H5C_image_entry_t), H5C__image_entry_cmp);
+ qsort(cache_ptr->image_entries, (size_t)cache_ptr->num_entries_in_image,
+ sizeof(H5C_image_entry_t), H5C__image_entry_cmp);
} /* end if */
else { /* cancel creation of metadata cache image */
HDassert(cache_ptr->image_entries == NULL);