summaryrefslogtreecommitdiffstats
path: root/examples/h5_group.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_group.c')
-rw-r--r--examples/h5_group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_group.c b/examples/h5_group.c
index f75bc36..00f9426 100644
--- a/examples/h5_group.c
+++ b/examples/h5_group.c
@@ -151,7 +151,7 @@ main(void)
/*
* Operator function.
*/
-herr_t file_info(hid_t UNUSED loc_id, const char *name, void UNUSED *opdata)
+herr_t file_info(hid_t loc_id, const char *name, void *opdata)
{
/*
* Display group name. The name is passed to the function by
@@ -168,7 +168,7 @@ herr_t file_info(hid_t UNUSED loc_id, const char *name, void UNUSED *opdata)
/*
* Operator function.
*/
-herr_t group_info(hid_t loc_id, const char *name, void UNUSED *opdata)
+herr_t group_info(hid_t loc_id, const char *name, void *opdata)
{
hid_t did; /* dataset identifier */
hid_t tid; /* datatype identifier */