summaryrefslogtreecommitdiffstats
path: root/src/H5Fspace.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 14:31:56 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:31:56 (GMT)
commit7a44581a84778a1346a2fd5b6cca7d9db905a321 (patch)
tree44ea9c2d1b471eb227698abe8499c34cfa6d47d2 /src/H5Fspace.c
parent622fcbd13881fbc58bbeaed3062583b759f5e864 (diff)
downloadhdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.zip
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.gz
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.bz2
Rename HDassert() to assert() (#3191)
* Change HDassert to assert * Fix bin/make_err
Diffstat (limited to 'src/H5Fspace.c')
-rw-r--r--src/H5Fspace.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/H5Fspace.c b/src/H5Fspace.c
index 9ac0620..0ccfa2e 100644
--- a/src/H5Fspace.c
+++ b/src/H5Fspace.c
@@ -89,11 +89,11 @@ H5F__alloc(H5F_t *f, H5F_mem_t type, hsize_t size, haddr_t *frag_addr, hsize_t *
FUNC_ENTER_PACKAGE
/* check args */
- HDassert(f);
- HDassert(f->shared);
- HDassert(f->shared->lf);
- HDassert(type >= H5FD_MEM_DEFAULT && type < H5FD_MEM_NTYPES);
- HDassert(size > 0);
+ assert(f);
+ assert(f->shared);
+ assert(f->shared->lf);
+ assert(type >= H5FD_MEM_DEFAULT && type < H5FD_MEM_NTYPES);
+ assert(size > 0);
/* Check whether the file can use temporary addresses */
if (f->shared->use_tmp_space) {
@@ -148,11 +148,11 @@ H5F__free(H5F_t *f, H5FD_mem_t type, haddr_t addr, hsize_t size)
FUNC_ENTER_PACKAGE
/* Check args */
- HDassert(f);
- HDassert(f->shared);
- HDassert(f->shared->lf);
- HDassert(type >= H5FD_MEM_DEFAULT && type < H5FD_MEM_NTYPES);
- HDassert(size > 0);
+ assert(f);
+ assert(f->shared);
+ assert(f->shared->lf);
+ assert(type >= H5FD_MEM_DEFAULT && type < H5FD_MEM_NTYPES);
+ assert(size > 0);
/* Call the file driver 'free' routine */
if (H5FD_free(f->shared->lf, type, f, addr, size) < 0)
@@ -192,11 +192,11 @@ H5F__try_extend(H5F_t *f, H5FD_mem_t type, haddr_t blk_end, hsize_t extra_reques
FUNC_ENTER_PACKAGE
/* check args */
- HDassert(f);
- HDassert(f->shared);
- HDassert(f->shared->lf);
- HDassert(type >= H5FD_MEM_DEFAULT && type < H5FD_MEM_NTYPES);
- HDassert(extra_requested > 0);
+ assert(f);
+ assert(f->shared);
+ assert(f->shared->lf);
+ assert(type >= H5FD_MEM_DEFAULT && type < H5FD_MEM_NTYPES);
+ assert(extra_requested > 0);
/* Extend the object by extending the underlying file */
if ((ret_value = H5FD_try_extend(f->shared->lf, type, f, blk_end, extra_requested)) < 0)