summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-05-08 06:39:15 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-05-08 06:39:15 (GMT)
commitb25d924aca5df0c7f3de6a72c1e3eba1ed4cfd74 (patch)
tree2ce465e7662eeb39c84732d56e2f9c52ce05a576 /test
parent6e38479134be36d116efb372d1dbdd5feddd3311 (diff)
downloadhdf5-b25d924aca5df0c7f3de6a72c1e3eba1ed4cfd74.zip
hdf5-b25d924aca5df0c7f3de6a72c1e3eba1ed4cfd74.tar.gz
hdf5-b25d924aca5df0c7f3de6a72c1e3eba1ed4cfd74.tar.bz2
Updates the VOL struct
Diffstat (limited to 'test')
-rw-r--r--test/h5test.c3
-rw-r--r--test/null_vol_connector.c3
-rw-r--r--test/null_vol_connector.h6
3 files changed, 7 insertions, 5 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 92bc781..3c37cf9 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -2009,7 +2009,8 @@ h5_get_dummy_vol_class(void)
/* Fill in the minimum parameters to make a VOL connector class that
* can be registered.
*/
- vol_class->name = "dummy";
+ vol_class->version = H5VL_VERSION;
+ vol_class->name = "dummy";
return vol_class;
diff --git a/test/null_vol_connector.c b/test/null_vol_connector.c
index 5f75ce4..b574a8e 100644
--- a/test/null_vol_connector.c
+++ b/test/null_vol_connector.c
@@ -26,9 +26,10 @@
/* The VOL class struct */
static const H5VL_class_t null_vol_g = {
- 0, /* version */
+ H5VL_VERSION, /* VOL class struct version */
NULL_VOL_CONNECTOR_VALUE, /* value */
NULL_VOL_CONNECTOR_NAME, /* name */
+ 0, /* connector version */
0, /* capability flags */
NULL, /* initialize */
NULL, /* terminate */
diff --git a/test/null_vol_connector.h b/test/null_vol_connector.h
index 0e48e75..8fe9abe 100644
--- a/test/null_vol_connector.h
+++ b/test/null_vol_connector.h
@@ -15,10 +15,10 @@
* (registration, etc.).
*/
-#ifndef _null_vol_connector_H
-#define _null_vol_connector_H
+#ifndef NULL_VOL_CONNECTOR_H
+#define NULL_VOL_CONNECTOR_H
#define NULL_VOL_CONNECTOR_VALUE ((H5VL_class_value_t)160)
#define NULL_VOL_CONNECTOR_NAME "null_vol_connector"
-#endif /* _null_vol_connector_H */
+#endif /* NULL_VOL_CONNECTOR_H */