diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-04-22 16:04:53 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-04-22 16:04:53 (GMT) |
commit | 935f19ec9929e8d06142f8bcfde2202ee9ad1d4e (patch) | |
tree | 7002ece1f682b614f1917a733efcfdd68b8b1290 /src | |
parent | 9cf79f5a13b198b293150fc8fb93c8bd8a5c71a6 (diff) | |
download | hdf5-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.c | 3 | ||||
-rw-r--r-- | src/H5Fprivate.h | 1 | ||||
-rw-r--r-- | src/H5I.c | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -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); @@ -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); |