summaryrefslogtreecommitdiffstats
path: root/src/H5checksum.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/H5checksum.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/H5checksum.c')
-rw-r--r--src/H5checksum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5checksum.c b/src/H5checksum.c
index b9823d8..66a6c86 100644
--- a/src/H5checksum.c
+++ b/src/H5checksum.c
@@ -65,7 +65,7 @@
static uint32_t H5_crc_table[256];
/* Flag: has the table been computed? */
-static hbool_t H5_crc_table_computed = FALSE;
+static bool H5_crc_table_computed = false;
/*-------------------------------------------------------------------------
* Function: H5_checksum_fletcher32
@@ -162,7 +162,7 @@ H5__checksum_crc_make_table(void)
c = c >> 1;
H5_crc_table[n] = c;
}
- H5_crc_table_computed = TRUE;
+ H5_crc_table_computed = true;
FUNC_LEAVE_NOAPI_VOID
} /* end H5__checksum_crc_make_table() */