summaryrefslogtreecommitdiffstats
path: root/src/H5Ffake.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-26 17:10:17 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-26 17:10:17 (GMT)
commit7746c3a45a8c920e51ba88da7be14cc075be7f17 (patch)
tree0c8c03afdb9e9ddf6e24f722aa92f939a076523c /src/H5Ffake.c
parent4d7bb37fc7a768cc4dbe2ca2da959531878f1e52 (diff)
downloadhdf5-7746c3a45a8c920e51ba88da7be14cc075be7f17.zip
hdf5-7746c3a45a8c920e51ba88da7be14cc075be7f17.tar.gz
hdf5-7746c3a45a8c920e51ba88da7be14cc075be7f17.tar.bz2
Changed H5F_file_t to H5F_shared_t (as in develop/1.12)
Diffstat (limited to 'src/H5Ffake.c')
-rw-r--r--src/H5Ffake.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Ffake.c b/src/H5Ffake.c
index 7e44cfc..7476a92 100644
--- a/src/H5Ffake.c
+++ b/src/H5Ffake.c
@@ -52,7 +52,7 @@ H5F_fake_alloc(uint8_t sizeof_size)
/* Allocate faked file struct */
if(NULL == (f = H5FL_CALLOC(H5F_t)))
HGOTO_ERROR(H5E_FILE, H5E_NOSPACE, NULL, "can't allocate top file structure")
- if(NULL == (f->shared = H5FL_CALLOC(H5F_file_t)))
+ if(NULL == (f->shared = H5FL_CALLOC(H5F_shared_t)))
HGOTO_ERROR(H5E_FILE, H5E_NOSPACE, NULL, "can't allocate shared file structure")
/* Only set fields necessary for clients */
@@ -94,7 +94,7 @@ H5F_fake_free(H5F_t *f)
if(f) {
/* Destroy shared file struct */
if(f->shared)
- f->shared = H5FL_FREE(H5F_file_t, f->shared);
+ f->shared = H5FL_FREE(H5F_shared_t, f->shared);
f = H5FL_FREE(H5F_t, f);
} /* end if */