summaryrefslogtreecommitdiffstats
path: root/src/H5HLint.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 20:43:30 (GMT)
committerGitHub <noreply@github.com>2023-07-27 20:43:30 (GMT)
commit1e91d96fa02466ffe451319bdac1005f84dc7993 (patch)
tree4de04ef502c313dfd766497b20235188761146c0 /src/H5HLint.c
parent95e5349089b95dfb95f0f8ce2d6db1bc04ba6c82 (diff)
downloadhdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.zip
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.gz
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.bz2
Brings over most of the HD prefix removal (#3293)
Diffstat (limited to 'src/H5HLint.c')
-rw-r--r--src/H5HLint.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/H5HLint.c b/src/H5HLint.c
index fa879fa..9e7f04c 100644
--- a/src/H5HLint.c
+++ b/src/H5HLint.c
@@ -88,9 +88,9 @@ H5HL__new(size_t sizeof_size, size_t sizeof_addr, size_t prfx_size)
FUNC_ENTER_PACKAGE
/* check arguments */
- HDassert(sizeof_size > 0);
- HDassert(sizeof_addr > 0);
- HDassert(prfx_size > 0);
+ assert(sizeof_size > 0);
+ assert(sizeof_addr > 0);
+ assert(prfx_size > 0);
/* Allocate new local heap structure */
if (NULL == (heap = H5FL_CALLOC(H5HL_t)))
@@ -130,7 +130,7 @@ H5HL__inc_rc(H5HL_t *heap)
FUNC_ENTER_PACKAGE_NOERR
/* check arguments */
- HDassert(heap);
+ assert(heap);
/* Increment heap's ref. count */
heap->rc++;
@@ -158,7 +158,7 @@ H5HL__dec_rc(H5HL_t *heap)
FUNC_ENTER_PACKAGE
/* check arguments */
- HDassert(heap);
+ assert(heap);
/* Decrement heap's ref. count */
heap->rc--;
@@ -191,13 +191,13 @@ H5HL__dest(H5HL_t *heap)
FUNC_ENTER_PACKAGE
/* check arguments */
- HDassert(heap);
+ assert(heap);
/* Verify that node is unused */
- HDassert(heap->prots == 0);
- HDassert(heap->rc == 0);
- HDassert(heap->prfx == NULL);
- HDassert(heap->dblk == NULL);
+ assert(heap->prots == 0);
+ assert(heap->rc == 0);
+ assert(heap->prfx == NULL);
+ assert(heap->dblk == NULL);
/* Use DONE errors here to try to free as much as possible */
if (heap->dblk_image)