summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-01-03 16:28:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-01-03 16:28:05 (GMT)
commite73a32b85288319298c1e39b9cf92fb42a838924 (patch)
treef79fab89632a0d0b1ec460ab20eefc328b20b99c /src/H5C.c
parentedd3ff309894decb3eaabce5c91b24f89286d177 (diff)
downloadhdf5-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 03d7b7a..010b043 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -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;