summaryrefslogtreecommitdiffstats
path: root/src/H5Oint.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-15 15:49:17 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-15 15:49:17 (GMT)
commitc30cf6d59664f63573b31efa4e73b41de168e381 (patch)
tree8de847542c4c0f2f86981db312a4f8ee4ac1f5ee /src/H5Oint.c
parent730d6cc53f3914f951e1177fc29835486b61dcdb (diff)
downloadhdf5-c30cf6d59664f63573b31efa4e73b41de168e381.zip
hdf5-c30cf6d59664f63573b31efa4e73b41de168e381.tar.gz
hdf5-c30cf6d59664f63573b31efa4e73b41de168e381.tar.bz2
Moved H5MM_memcpy and H5MM_xfree_const from develop
Diffstat (limited to 'src/H5Oint.c')
-rw-r--r--src/H5Oint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Oint.c b/src/H5Oint.c
index b49cc8f..ed4ef19 100644
--- a/src/H5Oint.c
+++ b/src/H5Oint.c
@@ -501,7 +501,7 @@ H5O__apply_ohdr(H5F_t *f, H5O_t *oh, hid_t ocpl_id, size_t size_hint, size_t ini
/* Put magic # for object header in first chunk */
if(oh->version > H5O_VERSION_1)
- HDmemcpy(oh->chunk[0].image, H5O_HDR_MAGIC, (size_t)H5_SIZEOF_MAGIC);
+ H5MM_memcpy(oh->chunk[0].image, H5O_HDR_MAGIC, (size_t)H5_SIZEOF_MAGIC);
/* Create the message list */
oh->nmesgs = 1;
@@ -1952,7 +1952,7 @@ H5O_loc_copy_shallow(H5O_loc_t *dst, H5O_loc_t *src)
HDassert(dst);
/* Copy the top level information */
- HDmemcpy(dst, src, sizeof(H5O_loc_t));
+ H5MM_memcpy(dst, src, sizeof(H5O_loc_t));
/* Reset the source location, as the destination 'owns' it now */
H5O_loc_reset(src);
@@ -1986,7 +1986,7 @@ H5O_loc_copy_deep(H5O_loc_t *dst, const H5O_loc_t *src)
HDassert(dst);
/* Copy the top level information */
- HDmemcpy(dst, src, sizeof(H5O_loc_t));
+ H5MM_memcpy(dst, src, sizeof(H5O_loc_t));
/* If the original entry was holding open the file, this one should
* hold it open, too.