diff options
Diffstat (limited to 'tools/src/misc/h5clear.c')
-rw-r--r-- | tools/src/misc/h5clear.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/src/misc/h5clear.c b/tools/src/misc/h5clear.c index 2272626..d1ea0c3 100644 --- a/tools/src/misc/h5clear.c +++ b/tools/src/misc/h5clear.c @@ -34,10 +34,10 @@ #define DEFAULT_INCREMENT (1024 * 1024) static char *fname_g = NULL; -static hbool_t clear_status_flags = FALSE; -static hbool_t remove_cache_image = FALSE; -static hbool_t print_filesize = FALSE; -static hbool_t increment_eoa_eof = FALSE; +static bool clear_status_flags = false; +static bool remove_cache_image = false; +static bool print_filesize = false; +static bool increment_eoa_eof = false; static hsize_t increment = DEFAULT_INCREMENT; /* @@ -130,19 +130,19 @@ parse_command_line(int argc, const char *const *argv) goto done; case 's': - clear_status_flags = TRUE; + clear_status_flags = true; break; case 'm': - remove_cache_image = TRUE; + remove_cache_image = true; break; case 'z': - print_filesize = TRUE; + print_filesize = true; break; case 'i': - increment_eoa_eof = TRUE; + increment_eoa_eof = true; if (H5_optarg != NULL) { if (atoi(H5_optarg) < 0) { usage(h5tools_getprogname()); @@ -308,7 +308,7 @@ main(int argc, char *argv[]) } /* Open the file */ - if ((fid = h5tools_fopen(fname, flags, fapl, FALSE, NULL, (size_t)0)) < 0) { + if ((fid = h5tools_fopen(fname, flags, fapl, false, NULL, (size_t)0)) < 0) { error_msg("h5tools_fopen\n"); h5tools_setstatus(EXIT_FAILURE); goto done; |