diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-01-30 19:01:25 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:54 (GMT) |
commit | 5e76dccbe0f874e352813b5d24a6b84c80b59fcd (patch) | |
tree | 87ef50fea4c9853d40c1dd15a9566eb4c96b3f28 /src/H5VLprivate.h | |
parent | c3974173a14380069c336dc7e65184685f41f32b (diff) | |
download | hdf5-5e76dccbe0f874e352813b5d24a6b84c80b59fcd.zip hdf5-5e76dccbe0f874e352813b5d24a6b84c80b59fcd.tar.gz hdf5-5e76dccbe0f874e352813b5d24a6b84c80b59fcd.tar.bz2 |
Added a free wrapper that lets us free constant pointers without
generating warnings.
Also, brought the const-ness of the VOL connector info in line with
the VFD info (not visible externally).
Diffstat (limited to 'src/H5VLprivate.h')
-rw-r--r-- | src/H5VLprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5VLprivate.h b/src/H5VLprivate.h index 24ae1f3..27dd18c 100644 --- a/src/H5VLprivate.h +++ b/src/H5VLprivate.h @@ -44,7 +44,7 @@ typedef struct H5VL_object_t { /* Internal structure to hold the connector ID & info for FAPLs */ typedef struct H5VL_connector_prop_t { hid_t connector_id; /* VOL connector's ID */ - void *connector_info; /* VOL connector info, for open callbacks */ + const void *connector_info; /* VOL connector info, for open callbacks */ } H5VL_connector_prop_t; /* Which kind of VOL connector field to use for searching */ |