diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5dump/h5dump.c | 18 | ||||
-rw-r--r-- | tools/misc/h5debug.c | 3 |
2 files changed, 11 insertions, 10 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index 9ec4cbd..87ecb49 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -1117,7 +1117,7 @@ dump_dataspace(hid_t space) *------------------------------------------------------------------------- */ static herr_t -dump_attr(hid_t attr, const char *attr_name, void * UNUSED op_data) +dump_attr(hid_t attr, const char *attr_name, void UNUSED * op_data) { hid_t attr_id, type, space; herr_t ret = SUCCEED; @@ -1998,7 +1998,7 @@ set_output_file(const char *fname) *------------------------------------------------------------------------- */ static void -handle_attributes(hid_t fid, char *attr, void * UNUSED data) +handle_attributes(hid_t fid, char *attr, void UNUSED * data) { dump_selected_attr(fid, attr); } @@ -2258,7 +2258,7 @@ handle_datasets(hid_t fid, char *dset, void *data) *------------------------------------------------------------------------- */ static void -handle_groups(hid_t fid, char *group, void * UNUSED data) +handle_groups(hid_t fid, char *group, void UNUSED * data) { H5G_stat_t statbuf; hid_t gid; @@ -2303,7 +2303,7 @@ handle_groups(hid_t fid, char *group, void * UNUSED data) *------------------------------------------------------------------------- */ static void -handle_links(hid_t fid, char *links, void * UNUSED data) +handle_links(hid_t fid, char *links, void UNUSED * data) { H5G_stat_t statbuf; @@ -2359,7 +2359,7 @@ handle_links(hid_t fid, char *links, void * UNUSED data) *------------------------------------------------------------------------- */ static void -handle_datatypes(hid_t fid, char *type, void * UNUSED data) +handle_datatypes(hid_t fid, char *type, void UNUSED * data) { hid_t type_id; @@ -3200,7 +3200,7 @@ lookup_ref_path(hobj_ref_t * ref) *------------------------------------------------------------------------- */ static herr_t -fill_ref_path_table(hid_t group, const char *name, void * UNUSED op_data) +fill_ref_path_table(hid_t group, const char *name, void UNUSED * op_data) { hid_t obj; char *tmp; @@ -3980,7 +3980,7 @@ xml_dump_dataspace(hid_t space) *------------------------------------------------------------------------- */ static void -xml_dump_data(hid_t obj_id, int obj_data, struct subset_t * UNUSED sset) +xml_dump_data(hid_t obj_id, int obj_data, struct subset_t UNUSED * sset) { h5dump_t *outputformat = &xml_dataformat; int status = -1; @@ -4084,7 +4084,7 @@ xml_dump_data(hid_t obj_id, int obj_data, struct subset_t * UNUSED sset) *------------------------------------------------------------------------- */ static herr_t -xml_dump_attr(hid_t attr, const char *attr_name, void * UNUSED op_data) +xml_dump_attr(hid_t attr, const char *attr_name, void UNUSED * op_data) { hid_t attr_id, type, space; char *t_aname = xml_escape_the_name(attr_name); @@ -4744,7 +4744,7 @@ check_compression(hid_t dcpl) *------------------------------------------------------------------------- */ static void -xml_dump_dataset(hid_t did, const char *name, struct subset_t * UNUSED sset) +xml_dump_dataset(hid_t did, const char *name, struct subset_t UNUSED * sset) { hid_t type, space; hid_t dcpl; diff --git a/tools/misc/h5debug.c b/tools/misc/h5debug.c index 09b8c7f..c532e5d 100644 --- a/tools/misc/h5debug.c +++ b/tools/misc/h5debug.c @@ -15,6 +15,7 @@ *------------------------------------------------------------------------- */ #define H5F_PACKAGE /*suppress error about including H5Fpkg */ +#define H5O_PACKAGE /*suppress error about including H5Opkg */ #include "H5private.h" #include "H5Iprivate.h" @@ -24,7 +25,7 @@ #include "H5Gprivate.h" #include "H5HGprivate.h" #include "H5HLprivate.h" -#include "H5Oprivate.h" +#include "H5Opkg.h" /* File drivers */ #include "H5FDfamily.h" |