summaryrefslogtreecommitdiffstats
path: root/src/H5Rdeprec.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/H5Rdeprec.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/H5Rdeprec.c')
-rw-r--r--src/H5Rdeprec.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5Rdeprec.c b/src/H5Rdeprec.c
index 0e1011f..b1daf26 100644
--- a/src/H5Rdeprec.c
+++ b/src/H5Rdeprec.c
@@ -107,7 +107,7 @@ H5R__decode_token_compat(H5VL_object_t *vol_obj, H5I_type_t type, H5R_type_t ref
HGOTO_ERROR(H5E_REFERENCE, H5E_CANTGET, FAIL, "can't query if file uses native VOL connector")
/* Must use native VOL connector for this operation */
- HDassert(is_native);
+ assert(is_native);
}
#endif /* NDEBUG */
@@ -173,11 +173,11 @@ H5R__encode_token_region_compat(H5F_t *f, const H5O_token_t *obj_token, size_t t
FUNC_ENTER_PACKAGE
- HDassert(f);
- HDassert(obj_token);
- HDassert(token_size);
- HDassert(space);
- HDassert(nalloc);
+ assert(f);
+ assert(obj_token);
+ assert(token_size);
+ assert(space);
+ assert(nalloc);
/* Get required buffer size */
if (H5R__encode_heap(f, NULL, &buf_size, NULL, (size_t)0) < 0)
@@ -194,7 +194,7 @@ H5R__encode_token_region_compat(H5F_t *f, const H5O_token_t *obj_token, size_t t
/* Zero the heap ID out, may leak heap space if user is re-using
* reference and doesn't have garbage collection turned on
*/
- HDmemset(buf, 0, buf_size);
+ memset(buf, 0, buf_size);
/* Get the amount of space required to serialize the selection */
if ((data_size = H5S_SELECT_SERIAL_SIZE(space)) < 0)
@@ -412,7 +412,7 @@ H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t
HGOTO_ERROR(H5E_REFERENCE, H5E_CANTGET, FAIL, "can't query if file uses native VOL connector")
/* Must use native VOL connector for this operation */
- HDassert(is_native);
+ assert(is_native);
}
#endif /* NDEBUG */
@@ -663,7 +663,7 @@ H5Rget_region(hid_t id, H5R_type_t ref_type, const void *ref)
"can't query if file uses native VOL connector")
/* Must use native VOL connector for this operation */
- HDassert(is_native);
+ assert(is_native);
}
#endif /* NDEBUG */