summaryrefslogtreecommitdiffstats
path: root/src/H5lite.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-06 22:19:52 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-06 22:19:52 (GMT)
commit0cab1628f544988af779d93ba7b60fb3bd4783d5 (patch)
tree3f4129eec089524df2b49ea511adc2622da592d9 /src/H5lite.c
parentbdac44941a555f2700f71bad4a42e45c5a992cb7 (diff)
downloadhdf5-0cab1628f544988af779d93ba7b60fb3bd4783d5.zip
hdf5-0cab1628f544988af779d93ba7b60fb3bd4783d5.tar.gz
hdf5-0cab1628f544988af779d93ba7b60fb3bd4783d5.tar.bz2
[svn-r3971] my first hdf5 library contribution
Diffstat (limited to 'src/H5lite.c')
-rwxr-xr-xsrc/H5lite.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5lite.c b/src/H5lite.c
index 0dbb786..1e11c2a 100755
--- a/src/H5lite.c
+++ b/src/H5lite.c
@@ -10,14 +10,14 @@
* *
****************************************************************************/
-#include <hdf5.h>
+
#include "H5Lite.h"
/*local operator functions */
-static herr_t count_groups( hid_t UNUSED loc_id, const char *name, void *op_data);
-static herr_t get_name_group ( hid_t UNUSED loc_id, const char *name, void *op_data);
+static herr_t count_groups( hid_t loc_id, const char *name, void *op_data);
+static herr_t get_name_group( hid_t loc_id, const char *name, void *op_data);
@@ -161,7 +161,7 @@ herr_t H5Lattach_attribute( hid_t loc_id,
break;
default:
- return FAIL;
+ return FAIL;
}
@@ -260,7 +260,7 @@ herr_t H5Lattach_attribute_numerical( hid_t loc_id,
break;
default:
- return FAIL;
+ return -1;
}
@@ -412,7 +412,7 @@ herr_t H5Lget_groups( hid_t loc_id,
*-------------------------------------------------------------------------
*/
-static herr_t count_groups( hid_t UNUSED loc_id, const char *name, void *op_data)
+static herr_t count_groups( hid_t loc_id, const char *name, void *op_data)
{
/* Define a default zero value for return. This will cause the iterator to continue */
@@ -457,7 +457,7 @@ static herr_t count_groups( hid_t UNUSED loc_id, const char *name, void *op_data
*-------------------------------------------------------------------------
*/
-static herr_t get_name_group( hid_t UNUSED loc_id, const char *name, void *op_data)
+static herr_t get_name_group( hid_t loc_id, const char *name, void *op_data)
{
/* Define a default 1 value for return. This will cause the iterator to break */