summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/ph5_filtered_writes.c2
-rw-r--r--examples/ph5_filtered_writes_no_sel.c4
-rw-r--r--examples/ph5_subfiling.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/ph5_filtered_writes.c b/examples/ph5_filtered_writes.c
index 104704a..f4ddae9 100644
--- a/examples/ph5_filtered_writes.c
+++ b/examples/ph5_filtered_writes.c
@@ -102,7 +102,7 @@ fill_databuf(hsize_t start[], hsize_t count[], hsize_t stride[], C_DATATYPE *dat
static void
cleanup(char *filename)
{
- hbool_t do_cleanup = getenv(HDF5_NOCLEANUP) ? 0 : 1;
+ bool do_cleanup = getenv(HDF5_NOCLEANUP) ? false : true;
if (do_cleanup)
MPI_File_delete(filename, MPI_INFO_NULL);
diff --git a/examples/ph5_filtered_writes_no_sel.c b/examples/ph5_filtered_writes_no_sel.c
index a4d9e16..e3ec103 100644
--- a/examples/ph5_filtered_writes_no_sel.c
+++ b/examples/ph5_filtered_writes_no_sel.c
@@ -102,7 +102,7 @@ fill_databuf(hsize_t start[], hsize_t count[], hsize_t stride[], C_DATATYPE *dat
static void
cleanup(char *filename)
{
- hbool_t do_cleanup = getenv(HDF5_NOCLEANUP) ? 0 : 1;
+ bool do_cleanup = getenv(HDF5_NOCLEANUP) ? false : true;
if (do_cleanup)
MPI_File_delete(filename, MPI_INFO_NULL);
@@ -125,7 +125,7 @@ write_dataset_some_no_sel(hid_t file_id, hid_t dxpl_id)
hsize_t start[EXAMPLE_DSET_DIMS];
hsize_t stride[EXAMPLE_DSET_DIMS];
hsize_t count[EXAMPLE_DSET_DIMS];
- hbool_t no_selection;
+ bool no_selection;
hid_t dset_id = H5I_INVALID_HID;
hid_t dcpl_id = H5I_INVALID_HID;
hid_t file_dataspace = H5I_INVALID_HID;
diff --git a/examples/ph5_subfiling.c b/examples/ph5_subfiling.c
index 7d72448..f9c3322 100644
--- a/examples/ph5_subfiling.c
+++ b/examples/ph5_subfiling.c
@@ -51,7 +51,7 @@ typedef int EXAMPLE_DSET_C_DATATYPE;
static void
cleanup(char *filename, hid_t fapl_id)
{
- hbool_t do_cleanup = getenv(HDF5_NOCLEANUP) ? 0 : 1;
+ bool do_cleanup = getenv(HDF5_NOCLEANUP) ? false : true;
if (do_cleanup)
H5Fdelete(filename, fapl_id);