summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-04-22 16:04:53 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-04-22 16:04:53 (GMT)
commit935f19ec9929e8d06142f8bcfde2202ee9ad1d4e (patch)
tree7002ece1f682b614f1917a733efcfdd68b8b1290 /src
parent9cf79f5a13b198b293150fc8fb93c8bd8a5c71a6 (diff)
downloadhdf5-935f19ec9929e8d06142f8bcfde2202ee9ad1d4e.zip
hdf5-935f19ec9929e8d06142f8bcfde2202ee9ad1d4e.tar.gz
hdf5-935f19ec9929e8d06142f8bcfde2202ee9ad1d4e.tar.bz2
[svn-r8403] Purpose:
bug fix Description: a missd?\127?\127ing declaration of the new function H5I_get_file_id was causing a eror on free bsd Solution: aadd the declaration Platforms tested: linux Misc. update:
Diffstat (limited to 'src')
-rw-r--r--src/H5F.c3
-rw-r--r--src/H5Fprivate.h1
-rw-r--r--src/H5I.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 4d7c3c1..316ad43 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -4497,4 +4497,5 @@ H5F_get_id(H5F_t *file)
done:
FUNC_LEAVE_NOAPI(ret_value)
-} /* end H5F_get_id() */ \ No newline at end of file
+} /* end H5F_get_id() */
+
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 5d9f1c9..d57e014 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -388,6 +388,7 @@ H5_DLL herr_t H5F_init(void);
H5_DLL hid_t H5F_get_driver_id(const H5F_t *f);
H5_DLL unsigned H5F_get_intent(const H5F_t *f);
H5_DLL herr_t H5F_get_fileno(const H5F_t *f, unsigned long *filenum);
+H5_DLL hid_t H5F_get_id(H5F_t *file);
H5_DLL int H5F_get_obj_count(H5F_t *f, unsigned types);
H5_DLL int H5F_get_obj_ids(H5F_t *f, unsigned types, int max_objs, hid_t *obj_id_list);
H5_DLL haddr_t H5F_get_base_addr(const H5F_t *f);
diff --git a/src/H5I.c b/src/H5I.c
index 9bc9e51..f92e2cc 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -117,6 +117,7 @@ H5FL_DEFINE_STATIC(H5I_id_info_t);
/*--------------------- Local function prototypes ---------------------------*/
static herr_t H5I_init_interface(void);
static H5I_id_info_t *H5I_find_id(hid_t id);
+static hid_t H5I_get_file_id(hid_t obj_id);
static int H5I_get_ref(hid_t id);
#ifdef H5I_DEBUG_OUTPUT
static herr_t H5I_debug(H5I_type_t grp);