summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-12-19 17:03:22 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-12-19 17:03:22 (GMT)
commit9a66eb1377ee1d32ffbc879a76ec6c5c112e9612 (patch)
tree002eeeb3c18dd14befed1a7823ff16ec9ec249b7 /src
parent10353ef87dfaa863c32a45b5b1bca827004efbe4 (diff)
downloadhdf5-9a66eb1377ee1d32ffbc879a76ec6c5c112e9612.zip
hdf5-9a66eb1377ee1d32ffbc879a76ec6c5c112e9612.tar.gz
hdf5-9a66eb1377ee1d32ffbc879a76ec6c5c112e9612.tar.bz2
Make the first parameter of H5PB_remove_entry() non-const to support some
changes I will commit shortly.
Diffstat (limited to 'src')
-rw-r--r--src/H5PB.c2
-rw-r--r--src/H5PBprivate.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5PB.c b/src/H5PB.c
index bd21ab9..b59497e 100644
--- a/src/H5PB.c
+++ b/src/H5PB.c
@@ -1177,7 +1177,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5PB_remove_entry(const H5F_shared_t *shared, haddr_t addr)
+H5PB_remove_entry(H5F_shared_t *shared, haddr_t addr)
{
uint64_t page;
H5PB_t *pb_ptr = NULL;
diff --git a/src/H5PBprivate.h b/src/H5PBprivate.h
index e94fb7d..1847f3d 100644
--- a/src/H5PBprivate.h
+++ b/src/H5PBprivate.h
@@ -669,7 +669,7 @@ H5_DLL herr_t H5PB_add_new_page(H5F_shared_t *, H5FD_mem_t, haddr_t);
H5_DLL herr_t H5PB_update_entry(H5PB_t *, haddr_t, size_t, const void *);
-H5_DLL herr_t H5PB_remove_entry(const H5F_shared_t *, haddr_t);
+H5_DLL herr_t H5PB_remove_entry(H5F_shared_t *, haddr_t);
H5_DLL herr_t H5PB_read(H5F_shared_t *, H5FD_mem_t, haddr_t,
size_t, void * /*out*/);