summaryrefslogtreecommitdiffstats
path: root/src/H5MF.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-05-04 20:26:38 (GMT)
committerGitHub <noreply@github.com>2021-05-04 20:26:38 (GMT)
commitc7d45c205e78f141df76578ed72243d4445ac675 (patch)
treed25026fcf3fc114a29d4b92294a25819248e8d29 /src/H5MF.c
parent3899e090dfd2e88b4a1929e304df835fd7a3d316 (diff)
downloadhdf5-c7d45c205e78f141df76578ed72243d4445ac675.zip
hdf5-c7d45c205e78f141df76578ed72243d4445ac675.tar.gz
hdf5-c7d45c205e78f141df76578ed72243d4445ac675.tar.bz2
Adds const to a few global variables (#623)
* Committing clang-format changes * Adds consts to a few global variables Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5MF.c')
-rw-r--r--src/H5MF.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5MF.c b/src/H5MF.c
index 16da9e6..17301f7 100644
--- a/src/H5MF.c
+++ b/src/H5MF.c
@@ -1442,13 +1442,13 @@ done:
htri_t
H5MF_try_shrink(H5F_t *f, H5FD_mem_t alloc_type, haddr_t addr, hsize_t size)
{
- H5MF_free_section_t * node = NULL; /* Free space section pointer */
- H5MF_sect_ud_t udata; /* User data for callback */
- H5FS_section_class_t *sect_cls; /* Section class */
- H5AC_ring_t orig_ring = H5AC_RING_INV; /* Original ring value */
- H5AC_ring_t fsm_ring = H5AC_RING_INV; /* Ring of FSM */
- H5F_mem_page_t fs_type; /* Free space type */
- htri_t ret_value = FALSE; /* Return value */
+ H5MF_free_section_t * node = NULL; /* Free space section pointer */
+ H5MF_sect_ud_t udata; /* User data for callback */
+ const H5FS_section_class_t *sect_cls; /* Section class */
+ H5AC_ring_t orig_ring = H5AC_RING_INV; /* Original ring value */
+ H5AC_ring_t fsm_ring = H5AC_RING_INV; /* Ring of FSM */
+ H5F_mem_page_t fs_type; /* Free space type */
+ htri_t ret_value = FALSE; /* Return value */
FUNC_ENTER_NOAPI_TAG(H5AC__FREESPACE_TAG, FAIL)
#ifdef H5MF_ALLOC_DEBUG