summaryrefslogtreecommitdiffstats
path: root/src/H5Edeprec.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-09-05 21:52:30 (GMT)
committerGitHub <noreply@github.com>2023-09-05 21:52:30 (GMT)
commit8253ab9ebf6a082dc07eb931f27b169d6a45d577 (patch)
tree47630856491e54f5d28e1608ffa5e2f976dc9c95 /src/H5Edeprec.c
parent920869796031ed4ee9c1fbea8aaccda3592a88b3 (diff)
downloadhdf5-8253ab9ebf6a082dc07eb931f27b169d6a45d577.zip
hdf5-8253ab9ebf6a082dc07eb931f27b169d6a45d577.tar.gz
hdf5-8253ab9ebf6a082dc07eb931f27b169d6a45d577.tar.bz2
Convert hbool_t --> bool in src (#3496)
* hbool_t --> bool in src * Does not remove TRUE/FALSE * Public header files are unchanged * Public API calls are unchanged * TRUE/FALSE --> true/false in src * Add deprecation notice for hbool_t
Diffstat (limited to 'src/H5Edeprec.c')
-rw-r--r--src/H5Edeprec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Edeprec.c b/src/H5Edeprec.c
index bb2954e..d4a2ee9 100644
--- a/src/H5Edeprec.c
+++ b/src/H5Edeprec.c
@@ -253,7 +253,7 @@ H5Eprint1(FILE *stream)
HGOTO_ERROR(H5E_ERROR, H5E_CANTGET, FAIL, "can't get current error stack");
/* Print error stack */
- if (H5E__print(estack, stream, TRUE) < 0)
+ if (H5E__print(estack, stream, true) < 0)
HGOTO_ERROR(H5E_ERROR, H5E_CANTLIST, FAIL, "can't display error stack");
done:
@@ -381,9 +381,9 @@ H5Eset_auto1(H5E_auto1_t func, void *client_data)
/* Set the automatic error reporting information */
auto_op.vers = 1;
if (func != auto_op.func1_default)
- auto_op.is_default = FALSE;
+ auto_op.is_default = false;
else
- auto_op.is_default = TRUE;
+ auto_op.is_default = true;
auto_op.func1 = func;
if (H5E__set_auto(estack, &auto_op, client_data) < 0)