summaryrefslogtreecommitdiffstats
path: root/src/H5Ffake.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-08-22 18:28:20 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2019-08-22 18:28:20 (GMT)
commitc36d2eeae7eac6012b2061e308040ea260f4f392 (patch)
treef5c3bd33db25b2d5953eb9f5d64a8dcab8ae0ddb /src/H5Ffake.c
parent5d6f27b32be6919ab64046bd8ff27c69d84a2c17 (diff)
downloadhdf5-c36d2eeae7eac6012b2061e308040ea260f4f392.zip
hdf5-c36d2eeae7eac6012b2061e308040ea260f4f392.tar.gz
hdf5-c36d2eeae7eac6012b2061e308040ea260f4f392.tar.bz2
Switch shared file struct name from 'H5F_file_t' to 'H5F_shared_t', to match
naming convention for shared structs in rest of library data structures.
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 6072f2e..67bd180 100644
--- a/src/H5Ffake.c
+++ b/src/H5Ffake.c
@@ -50,7 +50,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 */
@@ -93,7 +93,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 */