summaryrefslogtreecommitdiffstats
path: root/src/H5Olink.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 23:39:48 (GMT)
committerGitHub <noreply@github.com>2023-07-27 23:39:48 (GMT)
commit38e234b620595f3eac5ff68dd71d4b29cfd46b18 (patch)
tree905658547118279ea17cab8ffac2820d865b3b92 /src/H5Olink.c
parente286b6e706b28330a64115c13c11ae832536b857 (diff)
downloadhdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.zip
hdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.tar.gz
hdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.tar.bz2
Convert H5F_addr calls to H5_addr (#3297)
Diffstat (limited to 'src/H5Olink.c')
-rw-r--r--src/H5Olink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Olink.c b/src/H5Olink.c
index e8569bb..b42f2c0 100644
--- a/src/H5Olink.c
+++ b/src/H5Olink.c
@@ -216,7 +216,7 @@ H5O__link_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNUSE
/* Get the address of the object the link points to */
if (H5_IS_BUFFER_OVERFLOW(p, H5F_sizeof_addr(f), p_end))
HGOTO_ERROR(H5E_OHDR, H5E_OVERFLOW, NULL, "ran off end of input buffer while decoding")
- H5F_addr_decode(f, &p, &(lnk->u.hard.addr));
+ H5_addr_decode(f, &p, &(lnk->u.hard.addr));
break;
case H5L_TYPE_SOFT:
@@ -365,7 +365,7 @@ H5O__link_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, co
switch (lnk->type) {
case H5L_TYPE_HARD:
/* Store the address of the object the link points to */
- H5F_addr_encode(f, &p, lnk->u.hard.addr);
+ H5_addr_encode(f, &p, lnk->u.hard.addr);
break;
case H5L_TYPE_SOFT:
@@ -615,7 +615,7 @@ H5O_link_delete(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, void *_mesg)
/* Construct object location for object, in order to decrement it's ref count */
H5O_loc_reset(&oloc);
oloc.file = f;
- assert(H5F_addr_defined(lnk->u.hard.addr));
+ assert(H5_addr_defined(lnk->u.hard.addr));
oloc.addr = lnk->u.hard.addr;
/* Decrement the ref count for the object */
@@ -744,7 +744,7 @@ H5O__link_post_copy_file(const H5O_loc_t *src_oloc, const void *mesg_src, H5O_lo
/* check args */
assert(link_src);
assert(dst_oloc);
- assert(H5F_addr_defined(dst_oloc->addr));
+ assert(H5_addr_defined(dst_oloc->addr));
assert(dst_oloc->file);
assert(link_dst);
assert(cpy_info);