summaryrefslogtreecommitdiffstats
path: root/tools/test/perform/perf_meta.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-09-05 18:50:06 (GMT)
committerGitHub <noreply@github.com>2023-09-05 18:50:06 (GMT)
commitae1379094b71c51342772397af5caca088862a61 (patch)
treee79cb67a1227bfdec099f62e9df22917213b8a7d /tools/test/perform/perf_meta.c
parentd24f5d5223731d507b51d112ba564d764d6d6c18 (diff)
downloadhdf5-ae1379094b71c51342772397af5caca088862a61.zip
hdf5-ae1379094b71c51342772397af5caca088862a61.tar.gz
hdf5-ae1379094b71c51342772397af5caca088862a61.tar.bz2
hbool_t/TRUE/FALSE --> bool/true/false in tools (#3491)
Diffstat (limited to 'tools/test/perform/perf_meta.c')
-rw-r--r--tools/test/perform/perf_meta.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/test/perform/perf_meta.c b/tools/test/perform/perf_meta.c
index 16df60a..6762f7c 100644
--- a/tools/test/perform/perf_meta.c
+++ b/tools/test/perform/perf_meta.c
@@ -33,13 +33,13 @@ static int TEST_3 = 0x4; /* Test 3 */
static const char *FILENAME[] = {"meta_perf_1", "meta_perf_2", "meta_perf_3", NULL};
/* Default values for performance. Can be changed through command line options */
-static int NUM_DSETS = 16;
-static int NUM_ATTRS = 8;
-static int BATCH_ATTRS = 2;
-static hbool_t flush_dset = FALSE;
-static hbool_t flush_attr = FALSE;
-static int nerrors = 0; /* errors count */
-static hid_t fapl;
+static int NUM_DSETS = 16;
+static int NUM_ATTRS = 8;
+static int BATCH_ATTRS = 2;
+static bool flush_dset = false;
+static bool flush_attr = false;
+static int nerrors = 0; /* errors count */
+static hid_t fapl;
/* Data space IDs */
static hid_t space;
@@ -117,9 +117,9 @@ parse_options(int argc, char **argv)
case 'f': /* Call H5Fflush for each dataset or attribute */
if (!strcmp("a", (*argv + 2)))
- flush_attr = TRUE;
+ flush_attr = true;
else if (!strcmp("d", (*argv + 2)))
- flush_dset = TRUE;
+ flush_dset = true;
else {
nerrors++;
return (1);