summaryrefslogtreecommitdiffstats
path: root/src/H5Oalloc.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-07-27 18:09:56 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-07-27 18:09:56 (GMT)
commit34323c289dabeb875beb9765fafa3651d0378f4f (patch)
tree5917e0f4d6c1f2d28c8c84237186243fecd7042a /src/H5Oalloc.c
parentaecefbb2f5737890a27dcfd2ef20276d2ff88b2a (diff)
downloadhdf5-34323c289dabeb875beb9765fafa3651d0378f4f.zip
hdf5-34323c289dabeb875beb9765fafa3651d0378f4f.tar.gz
hdf5-34323c289dabeb875beb9765fafa3651d0378f4f.tar.bz2
Minor normalization with develop
Diffstat (limited to 'src/H5Oalloc.c')
-rw-r--r--src/H5Oalloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Oalloc.c b/src/H5Oalloc.c
index 6ab8305..cd17b0d 100644
--- a/src/H5Oalloc.c
+++ b/src/H5Oalloc.c
@@ -36,6 +36,7 @@
#include "H5Eprivate.h" /* Error handling */
#include "H5FLprivate.h" /* Free lists */
#include "H5MFprivate.h" /* File memory management */
+#include "H5MMprivate.h" /* Memory management */
#include "H5Opkg.h" /* Object headers */
/****************/
@@ -690,7 +691,7 @@ H5O__alloc_extend_chunk(H5F_t *f, H5O_t *oh, unsigned chunkno, size_t size,
} /* end for */
/* Resize the chunk in the cache */
- if(H5O_chunk_resize(oh, chk_proxy) < 0)
+ if(H5O__chunk_resize(oh, chk_proxy) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTRESIZE, FAIL, "unable to resize object header chunk")
/* Set new message index */
@@ -2523,7 +2524,7 @@ H5O__alloc_shrink_chunk(H5F_t *f, H5O_t *oh, unsigned chunkno)
HDassert(new_size <= old_size);
/* Resize the chunk in the cache */
- if(H5O_chunk_resize(oh, chk_proxy) < 0)
+ if(H5O__chunk_resize(oh, chk_proxy) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTRESIZE, FAIL, "unable to resize object header chunk")
/* Free the unused space in the file */