summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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,