summaryrefslogtreecommitdiffstats
path: root/src/H5FDtest.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-09-05 21:52:30 (GMT)
committerGitHub <noreply@github.com>2023-09-05 21:52:30 (GMT)
commit8253ab9ebf6a082dc07eb931f27b169d6a45d577 (patch)
tree47630856491e54f5d28e1608ffa5e2f976dc9c95 /src/H5FDtest.c
parent920869796031ed4ee9c1fbea8aaccda3592a88b3 (diff)
downloadhdf5-8253ab9ebf6a082dc07eb931f27b169d6a45d577.zip
hdf5-8253ab9ebf6a082dc07eb931f27b169d6a45d577.tar.gz
hdf5-8253ab9ebf6a082dc07eb931f27b169d6a45d577.tar.bz2
Convert hbool_t --> bool in src (#3496)
* hbool_t --> bool in src * Does not remove TRUE/FALSE * Public header files are unchanged * Public API calls are unchanged * TRUE/FALSE --> true/false in src * Add deprecation notice for hbool_t
Diffstat (limited to 'src/H5FDtest.c')
-rw-r--r--src/H5FDtest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5FDtest.c b/src/H5FDtest.c
index 87d24b6..4f2a5b2 100644
--- a/src/H5FDtest.c
+++ b/src/H5FDtest.c
@@ -73,24 +73,24 @@
*
* This function is only intended for use in the test code.
*
- * Return: TRUE (1) if the VFD supports SWMR I/O or vfd_name is
+ * Return: true (1) if the VFD supports SWMR I/O or vfd_name is
* NULL or the empty string (which implies the default VFD).
*
- * FALSE (0) if it does not
+ * false (0) if it does not
*
* This function cannot fail at this time so there is no
* error return value.
*-------------------------------------------------------------------------
*/
-hbool_t
+bool
H5FD__supports_swmr_test(const char *vfd_name)
{
- hbool_t ret_value = FALSE;
+ bool ret_value = false;
FUNC_ENTER_NOAPI_NOINIT_NOERR
if (!vfd_name || !HDstrcmp(vfd_name, "") || !HDstrcmp(vfd_name, "nomatch"))
- ret_value = TRUE;
+ ret_value = true;
else
ret_value = !HDstrcmp(vfd_name, "log") || !HDstrcmp(vfd_name, "sec2");