summaryrefslogtreecommitdiffstats
path: root/test/links_env.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-09-05 20:11:52 (GMT)
committerGitHub <noreply@github.com>2023-09-05 20:11:52 (GMT)
commit920869796031ed4ee9c1fbea8aaccda3592a88b3 (patch)
tree30f007ff79b87a79c882d9149cdbfcb797be92e1 /test/links_env.c
parentae1379094b71c51342772397af5caca088862a61 (diff)
downloadhdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.zip
hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.gz
hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.bz2
Convert hbool_t --> bool in test (#3494)
Diffstat (limited to 'test/links_env.c')
-rw-r--r--test/links_env.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/links_env.c b/test/links_env.c
index 620380b..6b61921 100644
--- a/test/links_env.c
+++ b/test/links_env.c
@@ -30,7 +30,7 @@ static const char *FILENAME[] = {"extlinks_env0", /* 0: main file */
TMPDIR "extlinks_env1", /* 2 */
NULL};
-static int external_link_env(hid_t fapl, hbool_t new_format);
+static int external_link_env(hid_t fapl, bool new_format);
/*-------------------------------------------------------------------------
* Function: external_link_env (moved from links.c)
@@ -48,7 +48,7 @@ static int external_link_env(hid_t fapl, hbool_t new_format);
*-------------------------------------------------------------------------
*/
static int
-external_link_env(hid_t fapl, hbool_t new_format)
+external_link_env(hid_t fapl, bool new_format)
{
hid_t fid = (-1); /* File ID */
hid_t gid = (-1); /* Group IDs */
@@ -162,13 +162,13 @@ main(void)
h5_reset();
fapl = h5_fileaccess();
- nerrors += external_link_env(fapl, FALSE) < 0 ? 1 : 0;
+ nerrors += external_link_env(fapl, false) < 0 ? 1 : 0;
/* Set the "use the latest version of the format" bounds for creating objects in the file */
if (H5Pset_libver_bounds(fapl, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST) < 0)
TEST_ERROR;
- nerrors += external_link_env(fapl, TRUE) < 0 ? 1 : 0;
+ nerrors += external_link_env(fapl, true) < 0 ? 1 : 0;
/* Verify symbol table messages are cached */
nerrors += (h5_verify_cached_stabs(FILENAME, fapl) < 0 ? 1 : 0);