summaryrefslogtreecommitdiffstats
path: root/tools/src/misc/h5debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/src/misc/h5debug.c')
-rw-r--r--tools/src/misc/h5debug.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/src/misc/h5debug.c b/tools/src/misc/h5debug.c
index fa93244..1bba419 100644
--- a/tools/src/misc/h5debug.c
+++ b/tools/src/misc/h5debug.c
@@ -233,7 +233,7 @@ main(int argc, char *argv[])
size_t u;
H5E_auto2_t func = NULL;
void *edata = NULL;
- hbool_t api_ctx_pushed = FALSE; /* Whether API context pushed */
+ bool api_ctx_pushed = false; /* Whether API context pushed */
herr_t status = SUCCEED;
int exit_value = 0;
@@ -262,7 +262,7 @@ main(int argc, char *argv[])
exit_value = 1;
goto done;
} /* end if */
- if (HDstrchr(argv[1], '%'))
+ if (strchr(argv[1], '%'))
if (H5Pset_fapl_family(fapl, (hsize_t)0, H5P_DEFAULT) < 0) {
fprintf(stderr, "cannot set file access property list\n");
exit_value = 1;
@@ -280,7 +280,7 @@ main(int argc, char *argv[])
exit_value = 1;
goto done;
}
- api_ctx_pushed = TRUE;
+ api_ctx_pushed = true;
if (NULL == (vol_obj = (H5VL_object_t *)H5VL_vol_object(fid))) {
fprintf(stderr, "cannot obtain vol_obj pointer\n");
@@ -772,15 +772,15 @@ main(int argc, char *argv[])
printf("%-*s ", VCOL, "Signature:");
for (u = 0; u < sizeof(sig); u++) {
if (sig[u] > ' ' && sig[u] <= '~' && '\\' != sig[u])
- HDputchar(sig[u]);
+ putchar(sig[u]);
else if ('\\' == sig[u]) {
- HDputchar('\\');
- HDputchar('\\');
+ putchar('\\');
+ putchar('\\');
}
else
printf("\\%03o", sig[u]);
}
- HDputchar('\n');
+ putchar('\n');
fprintf(stderr, "unknown signature\n");
exit_value = 4;
@@ -807,7 +807,7 @@ done:
/* Pop API context */
if (api_ctx_pushed)
- H5CX_pop(FALSE);
+ H5CX_pop(false);
H5Eset_auto2(H5E_DEFAULT, func, edata);