diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-01-03 16:28:05 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-01-03 16:28:05 (GMT) |
commit | e73a32b85288319298c1e39b9cf92fb42a838924 (patch) | |
tree | f79fab89632a0d0b1ec460ab20eefc328b20b99c /src/H5Fsuper_cache.c | |
parent | edd3ff309894decb3eaabce5c91b24f89286d177 (diff) | |
download | hdf5-e73a32b85288319298c1e39b9cf92fb42a838924.zip hdf5-e73a32b85288319298c1e39b9cf92fb42a838924.tar.gz hdf5-e73a32b85288319298c1e39b9cf92fb42a838924.tar.bz2 |
Remove 'const' from cache client pre_serialize callback, to reduce warnings,
and correspondingly remove 'const' from some internal routines. Also rename
some H5MF* routines to reflect their static/package usage.
Diffstat (limited to 'src/H5Fsuper_cache.c')
-rw-r--r-- | src/H5Fsuper_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fsuper_cache.c b/src/H5Fsuper_cache.c index 8e832d7..236136a 100644 --- a/src/H5Fsuper_cache.c +++ b/src/H5Fsuper_cache.c @@ -74,7 +74,7 @@ static htri_t H5F__cache_superblock_verify_chksum(const void *image_ptr, size_t static void *H5F__cache_superblock_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty); static herr_t H5F__cache_superblock_image_len(const void *thing, size_t *image_len); -static herr_t H5F__cache_superblock_pre_serialize(const H5F_t *f, +static herr_t H5F__cache_superblock_pre_serialize(H5F_t *f, hid_t dxpl_id, void *thing, haddr_t addr, size_t len, haddr_t *new_addr, size_t *new_len, unsigned *flags); static herr_t H5F__cache_superblock_serialize(const H5F_t *f, void *image, size_t len, @@ -685,7 +685,7 @@ H5F__cache_superblock_image_len(const void *_thing, size_t *image_len) *------------------------------------------------------------------------- */ static herr_t -H5F__cache_superblock_pre_serialize(const H5F_t *f, hid_t dxpl_id, +H5F__cache_superblock_pre_serialize(H5F_t *f, hid_t dxpl_id, void *_thing, haddr_t H5_ATTR_UNUSED addr, size_t H5_ATTR_UNUSED len, haddr_t H5_ATTR_UNUSED *new_addr, size_t H5_ATTR_UNUSED *new_len, unsigned H5_ATTR_UNUSED *flags) |