summaryrefslogtreecommitdiffstats
path: root/test/file_image.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/file_image.c
parentfd933f30b1f8cd487ad790ac0b054bb779280a62 (diff)
downloadhdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.zip
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.gz
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.bz2
Remove HD from HDmem* calls (#3211)
Diffstat (limited to 'test/file_image.c')
-rw-r--r--test/file_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/file_image.c b/test/file_image.c
index 0f76630..2b4e481 100644
--- a/test/file_image.c
+++ b/test/file_image.c
@@ -129,7 +129,7 @@ test_properties(void)
VERIFY(temp != NULL, "temp is null!");
VERIFY(temp_size == size, "Sizes of buffers don't match");
VERIFY(temp != buffer, "Retrieved buffer is the same as original");
- VERIFY(0 == HDmemcmp(temp, buffer, size), "Buffers contain different data");
+ VERIFY(0 == memcmp(temp, buffer, size), "Buffers contain different data");
/* Copy the fapl */
if ((fapl_2 = H5Pcopy(fapl_1)) < 0)
@@ -144,7 +144,7 @@ test_properties(void)
VERIFY(temp2 != NULL, "Received buffer not set");
VERIFY(temp2 != buffer, "Retrieved buffer is the same as original");
VERIFY(temp2 != temp, "Retrieved buffer is the same as previously retrieved buffer");
- VERIFY(0 == HDmemcmp(temp2, buffer, size), "Buffers contain different data");
+ VERIFY(0 == memcmp(temp2, buffer, size), "Buffers contain different data");
retval = 0;
@@ -200,7 +200,7 @@ memcpy_cb(void *dest, const void *src, size_t size, H5FD_file_image_op_t op, voi
u->used_callbacks |= MEMCPY;
u->memcpy_src = op;
- return HDmemcpy(dest, src, size);
+ return memcpy(dest, src, size);
}
/******************************************************************************