summaryrefslogtreecommitdiffstats
path: root/src/H5FDonion_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDonion_index.c')
-rw-r--r--src/H5FDonion_index.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5FDonion_index.c b/src/H5FDonion_index.c
index fae87ca..4e7f8a3 100644
--- a/src/H5FDonion_index.c
+++ b/src/H5FDonion_index.c
@@ -176,28 +176,28 @@ done:
* + Sorted by increasing logical address (no duplicates)
* + Logical addresses are multiples of page size.
*
- * Return: TRUE/FALSE
+ * Return: true/false
*-----------------------------------------------------------------------------
*/
-hbool_t
+bool
H5FD__onion_archival_index_is_valid(const H5FD_onion_archival_index_t *aix)
{
- hbool_t ret_value = TRUE;
+ bool ret_value = true;
FUNC_ENTER_PACKAGE_NOERR
assert(aix);
if (H5FD_ONION_ARCHIVAL_INDEX_VERSION_CURR != aix->version)
- HGOTO_DONE(FALSE);
+ HGOTO_DONE(false);
if (NULL == aix->list)
- HGOTO_DONE(FALSE);
+ HGOTO_DONE(false);
/* Ensure list is sorted on logical_page field */
if (aix->n_entries > 1)
for (uint64_t i = 1; i < aix->n_entries - 1; i++)
if (aix->list[i + 1].logical_page <= aix->list[i].logical_page)
- HGOTO_DONE(FALSE);
+ HGOTO_DONE(false);
done:
FUNC_LEAVE_NOAPI(ret_value)