diff options
Diffstat (limited to 'src/H5FDtest.c')
-rw-r--r-- | src/H5FDtest.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5FDtest.c b/src/H5FDtest.c index 87d24b6..694bae4 100644 --- a/src/H5FDtest.c +++ b/src/H5FDtest.c @@ -73,26 +73,26 @@ * * 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; + if (!vfd_name || !strcmp(vfd_name, "") || !strcmp(vfd_name, "nomatch")) + ret_value = true; else - ret_value = !HDstrcmp(vfd_name, "log") || !HDstrcmp(vfd_name, "sec2"); + ret_value = !strcmp(vfd_name, "log") || !strcmp(vfd_name, "sec2"); FUNC_LEAVE_NOAPI(ret_value) } /* end H5FD__supports_swmr_test() */ |