summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-05-07 16:44:07 (GMT)
committerGitHub <noreply@github.com>2021-05-07 16:44:07 (GMT)
commit1e572b18e3c271f9de045a6b61e3c855779e7c58 (patch)
tree5ab5746971a9cb4db4c49d10cc6a3998756e68c7
parent69553290541c48722c3a201864f79c9827125b89 (diff)
downloadhdf5-1e572b18e3c271f9de045a6b61e3c855779e7c58.zip
hdf5-1e572b18e3c271f9de045a6b61e3c855779e7c58.tar.gz
hdf5-1e572b18e3c271f9de045a6b61e3c855779e7c58.tar.bz2
Cleans up a const warning left over from previous constification (#633)
* Committing clang-format changes * Adds consts to a few global variables * Cleans up a const warning left over from previous constification Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
-rw-r--r--src/H5Clog.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Clog.h b/src/H5Clog.h
index bd5c413..790a073 100644
--- a/src/H5Clog.h
+++ b/src/H5Clog.h
@@ -79,10 +79,10 @@ typedef struct H5C_log_class_t {
/* Logging information */
struct H5C_log_info_t {
- hbool_t enabled; /* Was the logging set up? */
- hbool_t logging; /* Are we currently logging? */
- H5C_log_class_t *cls; /* Callbacks for writing log messages */
- void * udata; /* Log-specific data */
+ hbool_t enabled; /* Was the logging set up? */
+ hbool_t logging; /* Are we currently logging? */
+ const H5C_log_class_t *cls; /* Callbacks for writing log messages */
+ void * udata; /* Log-specific data */
};
/*****************************/