summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5trav.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-12-04 15:31:05 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-12-04 15:31:05 (GMT)
commit967a04fdec8aa15d93978cd201cd4ba0a583d6e2 (patch)
tree0db04bdb3c56abf4766a3324516ad033034b69a7 /tools/lib/h5trav.c
parente4e37e6d4aed05c4d6358907dc71470194310f42 (diff)
downloadhdf5-967a04fdec8aa15d93978cd201cd4ba0a583d6e2.zip
hdf5-967a04fdec8aa15d93978cd201cd4ba0a583d6e2.tar.gz
hdf5-967a04fdec8aa15d93978cd201cd4ba0a583d6e2.tar.bz2
[svn-r7912] Purpose:
code clean, bug fix Description: the attributes of the root group were not being compared removed compiler warnings on IRIX and solaris Solution: added a special function to compare the attributes of the root group Platforms tested: linux IRIX 6.5 solaris 2.7 Misc. update:
Diffstat (limited to 'tools/lib/h5trav.c')
-rw-r--r--tools/lib/h5trav.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/lib/h5trav.c b/tools/lib/h5trav.c
index 8d51ac4..4747aad 100644
--- a/tools/lib/h5trav.c
+++ b/tools/lib/h5trav.c
@@ -32,7 +32,7 @@ herr_t get_name_type( hid_t loc_id,
const char *group_name,
int idx,
char **name,
- int *type );
+ H5G_obj_t *type );
/*-------------------------------------------------------------------------
* Function: h5trav_getinfo
@@ -246,7 +246,11 @@ static herr_t opget_info( hid_t loc_id, const char *name, void *op_data)
*-------------------------------------------------------------------------
*/
-herr_t get_name_type( hid_t loc_id, const char *group_name, int idx, char **name, int *type )
+herr_t get_name_type( hid_t loc_id,
+ const char *group_name,
+ int idx,
+ char **name,
+ H5G_obj_t *type )
{
trav_info_t info;