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/H5C.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/H5C.c')
-rw-r--r-- | src/H5C.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -169,7 +169,7 @@ static herr_t H5C__mark_flush_dep_clean(H5C_cache_entry_t * entry); static herr_t H5C__verify_len_eoa(H5F_t *f, const H5C_class_t * type, haddr_t addr, size_t *len, hbool_t actual); -static herr_t H5C__generate_image(const H5F_t *f, H5C_t * cache_ptr, H5C_cache_entry_t *entry_ptr, +static herr_t H5C__generate_image(H5F_t *f, H5C_t * cache_ptr, H5C_cache_entry_t *entry_ptr, hid_t dxpl_id); #if H5C_DO_SLIST_SANITY_CHECKS @@ -5887,7 +5887,7 @@ done: *------------------------------------------------------------------------- */ herr_t -H5C__flush_single_entry(const H5F_t *f, hid_t dxpl_id, H5C_cache_entry_t *entry_ptr, +H5C__flush_single_entry(H5F_t *f, hid_t dxpl_id, H5C_cache_entry_t *entry_ptr, unsigned flags) { H5C_t * cache_ptr; /* Cache for file */ @@ -7766,7 +7766,7 @@ H5C__assert_flush_dep_nocycle(const H5C_cache_entry_t * entry, *------------------------------------------------------------------------- */ static herr_t -H5C__generate_image(const H5F_t *f, H5C_t *cache_ptr, H5C_cache_entry_t *entry_ptr, +H5C__generate_image(H5F_t *f, H5C_t *cache_ptr, H5C_cache_entry_t *entry_ptr, hid_t dxpl_id) { haddr_t new_addr = HADDR_UNDEF; |