summaryrefslogtreecommitdiffstats
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
parentbdac44941a555f2700f71bad4a42e45c5a992cb7 (diff)
downloadhdf5-0cab1628f544988af779d93ba7b60fb3bd4783d5.zip
hdf5-0cab1628f544988af779d93ba7b60fb3bd4783d5.tar.gz
hdf5-0cab1628f544988af779d93ba7b60fb3bd4783d5.tar.bz2
[svn-r3971] my first hdf5 library contribution
-rwxr-xr-xsrc/H5lite.c14
-rwxr-xr-xsrc/H5lite.h10
2 files changed, 17 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 */
diff --git a/src/H5lite.h b/src/H5lite.h
index 4835b83..40434e8 100755
--- a/src/H5lite.h
+++ b/src/H5lite.h
@@ -15,6 +15,16 @@
#ifndef _H5Lite_H
#define _H5Lite_H
+#include "H5private.h"
+#include "H5Ipublic.h"
+#include "H5Fpublic.h"
+#include "H5Tpublic.h"
+#include "H5Ppublic.h"
+#include "H5Spublic.h"
+#include "H5Gpublic.h"
+#include "H5Apublic.h"
+
+
herr_t H5Lmake_dataset( hid_t loc_id,
const char *dset_name,