summaryrefslogtreecommitdiffstats
path: root/test/ohdr.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 19:33:46 (GMT)
committerGitHub <noreply@github.com>2023-06-29 19:33:46 (GMT)
commit39e6bf48c92dda00057e2e19cdeed93f5a07b3c8 (patch)
tree7596e876fd008f38830d04591d49a0328208b0d1 /test/ohdr.c
parentfd933f30b1f8cd487ad790ac0b054bb779280a62 (diff)
downloadhdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.zip
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.gz
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.bz2
Remove HD from HDmem* calls (#3211)
Diffstat (limited to 'test/ohdr.c')
-rw-r--r--test/ohdr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ohdr.c b/test/ohdr.c
index ca19eaa..95a4dc3 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -79,8 +79,8 @@ test_cont(char *filename, hid_t fapl)
TESTING("object header continuation block");
- HDmemset(&oh_locA, 0, sizeof(oh_locA));
- HDmemset(&oh_locB, 0, sizeof(oh_locB));
+ memset(&oh_locA, 0, sizeof(oh_locA));
+ memset(&oh_locB, 0, sizeof(oh_locB));
/* Create the file to operate on */
if ((file = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl)) < 0)
@@ -227,7 +227,7 @@ test_ohdr_cache(char *filename, hid_t fapl)
FAIL_STACK_ERROR;
/* Create an object header */
- HDmemset(&oh_loc, 0, sizeof(oh_loc));
+ memset(&oh_loc, 0, sizeof(oh_loc));
if (H5O_create(f, (size_t)2048, (size_t)1, H5P_GROUP_CREATE_DEFAULT, &oh_loc /*out*/) < 0)
FAIL_STACK_ERROR;
@@ -979,7 +979,7 @@ test_minimized_dset_ohdr_attribute_addition(hid_t fapl_id)
TEST_ERROR;
/* modify the string attribute */
- HDmemset(in_buf, 0, buf_size);
+ memset(in_buf, 0, buf_size);
HDstrcpy(in_buf, ATTR_LONG);
if (H5Awrite(aid, H5T_NATIVE_CHAR, in_buf) < 0)
TEST_ERROR;
@@ -1899,7 +1899,7 @@ main(void)
* (using default group creation property list only because it's convenient)
*/
TESTING("object header creation");
- HDmemset(&oh_loc, 0, sizeof(oh_loc));
+ memset(&oh_loc, 0, sizeof(oh_loc));
if (H5O_create(f, (size_t)64, (size_t)0, H5P_GROUP_CREATE_DEFAULT, &oh_loc /*out*/) < 0)
FAIL_STACK_ERROR;
PASSED();