summaryrefslogtreecommitdiffstats
path: root/src/H5MFsection.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-28 19:33:16 (GMT)
committerGitHub <noreply@github.com>2023-07-28 19:33:16 (GMT)
commit8ddf2706f7e0cde59fad6624e2863960e62f6544 (patch)
treef090bb9fa368c90f67029f5d860ef39df3e8b038 /src/H5MFsection.c
parentb1ab59d239c74cdbea7d518b1398458c4150655f (diff)
downloadhdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.zip
hdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.tar.gz
hdf5-8ddf2706f7e0cde59fad6624e2863960e62f6544.tar.bz2
Sync of src w/ develop (#3307)
Diffstat (limited to 'src/H5MFsection.c')
-rw-r--r--src/H5MFsection.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5MFsection.c b/src/H5MFsection.c
index ff14a44..b5255b1 100644
--- a/src/H5MFsection.c
+++ b/src/H5MFsection.c
@@ -163,7 +163,7 @@ const H5FS_section_class_t H5MF_FSPACE_SECT_CLS_LARGE[1] = {{
/*******************/
/* Declare a free list to manage the H5MF_free_section_t struct */
-H5FL_DEFINE(H5MF_free_section_t);
+H5FL_DEFINE_STATIC(H5MF_free_section_t);
/*
* "simple/small/large" section callbacks
@@ -450,12 +450,12 @@ H5MF__sect_simple_can_shrink(const H5FS_section_info_t *_sect, void *_udata)
#endif /* H5MF_ALLOC_DEBUG_MORE */
/* Indicate shrinking can occur */
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
} /* end if */
else {
/* Shrinking can't occur if the 'eoa_shrink_only' flag is set and we're not shrinking the EOA */
if (udata->allow_eoa_shrink_only)
- HGOTO_DONE(FALSE)
+ HGOTO_DONE(FALSE);
/* Check if this section is allowed to merge with metadata aggregation block */
if (udata->f->shared->fs_aggr_merge[udata->alloc_type] & H5F_FS_MERGE_METADATA) {
@@ -474,7 +474,7 @@ H5MF__sect_simple_can_shrink(const H5FS_section_info_t *_sect, void *_udata)
#endif /* H5MF_ALLOC_DEBUG_MORE */
/* Indicate shrinking can occur */
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
} /* end if */
} /* end if */
@@ -496,7 +496,7 @@ H5MF__sect_simple_can_shrink(const H5FS_section_info_t *_sect, void *_udata)
#endif /* H5MF_ALLOC_DEBUG_MORE */
/* Indicate shrinking can occur */
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
} /* end if */
} /* end if */
} /* end else */
@@ -858,7 +858,7 @@ H5MF__sect_large_can_shrink(const H5FS_section_info_t *_sect, void *_udata)
#endif /* H5MF_ALLOC_DEBUG_MORE */
/* Indicate shrinking can occur */
- HGOTO_DONE(TRUE)
+ HGOTO_DONE(TRUE);
} /* end if */
done: