From 6da75cffd2356fb5b5b92204b2d1c34a0e2e99ea Mon Sep 17 00:00:00 2001 From: "M. Scot Breitenfeld" Date: Fri, 11 May 2018 11:45:03 -0500 Subject: Fixed libver bounds underscore issue --- src/H5F.c | 2 +- src/H5Fdeprec.c | 4 ++-- src/H5Fint.c | 6 +++--- src/H5Fpkg.h | 1 + src/H5Fprivate.h | 1 - 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/H5F.c b/src/H5F.c index 6c2d594..6d62c08 100644 --- a/src/H5F.c +++ b/src/H5F.c @@ -1476,7 +1476,7 @@ H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high) HGOTO_ERROR(H5E_FILE, H5E_CANTSET, FAIL, "can't set collective metadata read info") /* Call internal set_libver_bounds function */ - if(H5F_set_libver_bounds(f, low, high) < 0) + if(H5F__set_libver_bounds(f, low, high) < 0) HGOTO_ERROR(H5E_FILE, H5E_CANTSET, FAIL, "cannot set low/high bounds") done: diff --git a/src/H5Fdeprec.c b/src/H5Fdeprec.c index f220e77..703c9cc 100644 --- a/src/H5Fdeprec.c +++ b/src/H5Fdeprec.c @@ -149,7 +149,7 @@ done: * Purpose: Enable switching between latest or non-latest format while * a file is open. * This is deprecated starting release 1.10.2 and is modified - * to call the private H5F_set_libver_bounds() to set the + * to call the private H5F__set_libver_bounds() to set the * bounds. * * Before release 1.10.2, the library supports only two @@ -198,7 +198,7 @@ H5Fset_latest_format(hid_t file_id, hbool_t latest_format) low = H5F_LIBVER_EARLIEST; /* Call private set_libver_bounds function to set the bounds */ - if(H5F_set_libver_bounds(f, low, high) < 0) + if(H5F__set_libver_bounds(f, low, high) < 0) HGOTO_ERROR(H5E_FILE, H5E_CANTSET, FAIL, "cannot set low/high bounds") done: diff --git a/src/H5Fint.c b/src/H5Fint.c index e6188e6..a7209ce 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -2761,7 +2761,7 @@ H5F_set_store_msg_crt_idx(H5F_t *f, hbool_t flag) /*------------------------------------------------------------------------- - * Function: H5F_set_libver_bounds() + * Function: H5F__set_libver_bounds() * * Purpose: Set the file's low and high bound to the input parameters * 'low' and 'high' respectively. @@ -2775,7 +2775,7 @@ H5F_set_store_msg_crt_idx(H5F_t *f, hbool_t flag) *------------------------------------------------------------------------- */ herr_t -H5F_set_libver_bounds(H5F_t *f, H5F_libver_t low, H5F_libver_t high) +H5F__set_libver_bounds(H5F_t *f, H5F_libver_t low, H5F_libver_t high) { herr_t ret_value = SUCCEED; /* Return value */ @@ -2817,7 +2817,7 @@ H5F_set_libver_bounds(H5F_t *f, H5F_libver_t low, H5F_libver_t high) done: FUNC_LEAVE_NOAPI(ret_value) -} /* H5F_set_libver_bounds() */ +} /* H5F__set_libver_bounds() */ /*------------------------------------------------------------------------- diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h index f18826f..050e426 100644 --- a/src/H5Fpkg.h +++ b/src/H5Fpkg.h @@ -415,6 +415,7 @@ H5_DLL herr_t H5F__format_convert(H5F_t *f); H5_DLL herr_t H5F__start_swmr_write(H5F_t *f); H5_DLL herr_t H5F__close(hid_t file_id); H5_DLL herr_t H5F__close_cb(H5F_t *f); +H5_DLL herr_t H5F__set_libver_bounds(H5F_t *f, H5F_libver_t low, H5F_libver_t high); /* File mount related routines */ H5_DLL herr_t H5F__close_mounts(H5F_t *f); diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h index ba4f4d8..2e69bb4 100644 --- a/src/H5Fprivate.h +++ b/src/H5Fprivate.h @@ -767,7 +767,6 @@ H5_DLL unsigned H5F_gc_ref(const H5F_t *f); H5_DLL unsigned H5F_use_latest_flags(const H5F_t *f, unsigned fl); H5_DLL hbool_t H5F_store_msg_crt_idx(const H5F_t *f); H5_DLL herr_t H5F_set_store_msg_crt_idx(H5F_t *f, hbool_t flag); -H5_DLL herr_t H5F_set_libver_bounds(H5F_t * f, H5F_libver_t low, H5F_libver_t high); H5_DLL struct H5UC_t *H5F_grp_btree_shared(const H5F_t *f); H5_DLL herr_t H5F_set_grp_btree_shared(H5F_t *f, struct H5UC_t *rc); H5_DLL hbool_t H5F_use_tmp_space(const H5F_t *f); -- cgit v0.12