summaryrefslogtreecommitdiffstats
path: root/test/trefstr.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/trefstr.c
parentfd933f30b1f8cd487ad790ac0b054bb779280a62 (diff)
downloadhdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.zip
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.gz
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.bz2
Remove HD from HDmem* calls (#3211)
Diffstat (limited to 'test/trefstr.c')
-rw-r--r--test/trefstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/trefstr.c b/test/trefstr.c
index c9d585d..1895fb6 100644
--- a/test/trefstr.c
+++ b/test/trefstr.c
@@ -371,7 +371,7 @@ test_refstr_acat(void)
/* Append a large string to ref-counted string */
large_str = malloc(1024);
CHECK_PTR(large_str, "malloc");
- HDmemset(large_str, 'a', 1024);
+ memset(large_str, 'a', 1024);
large_str[1023] = '\0';
ret = H5RS_acat(rs, large_str);
CHECK(ret, FAIL, "H5RS_acat");
@@ -383,7 +383,7 @@ test_refstr_acat(void)
large_str2 = malloc(1024 + 6);
CHECK_PTR(large_str2, "malloc");
HDstrcpy(large_str2, "foobar");
- HDmemset(&large_str2[6], 'a', 1024);
+ memset(&large_str2[6], 'a', 1024);
large_str2[1029] = '\0';
cmp = HDstrcmp(s, large_str2);
VERIFY(cmp, 0, "HDstrcmp");