summaryrefslogtreecommitdiffstats
path: root/src/H5MFpkg.h
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/H5MFpkg.h
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/H5MFpkg.h')
-rw-r--r--src/H5MFpkg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5MFpkg.h b/src/H5MFpkg.h
index 4e7717d..f34c73e 100644
--- a/src/H5MFpkg.h
+++ b/src/H5MFpkg.h
@@ -168,9 +168,9 @@ typedef struct H5MF_fs_t {
/*****************************/
/* H5MF single section inherits serializable properties from H5FS_section_class_t */
-H5_DLLVAR H5FS_section_class_t H5MF_FSPACE_SECT_CLS_SIMPLE[1];
-H5_DLLVAR H5FS_section_class_t H5MF_FSPACE_SECT_CLS_SMALL[1];
-H5_DLLVAR H5FS_section_class_t H5MF_FSPACE_SECT_CLS_LARGE[1];
+H5_DLLVAR const H5FS_section_class_t H5MF_FSPACE_SECT_CLS_SIMPLE[1];
+H5_DLLVAR const H5FS_section_class_t H5MF_FSPACE_SECT_CLS_SMALL[1];
+H5_DLLVAR const H5FS_section_class_t H5MF_FSPACE_SECT_CLS_LARGE[1];
/******************************/
/* Package Private Prototypes */