From 0cab1628f544988af779d93ba7b60fb3bd4783d5 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Wed, 6 Jun 2001 17:19:52 -0500 Subject: [svn-r3971] my first hdf5 library contribution --- src/H5lite.c | 14 +++++++------- src/H5lite.h | 10 ++++++++++ 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 + #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, -- cgit v0.12