diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-29 20:44:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-29 20:44:19 (GMT) |
commit | db3c155bf296fa06ab0df56bb7307f2ba19613e5 (patch) | |
tree | 722dbba200b5baf9b45de8187ea3af0d0f7f48ca /src | |
parent | a4c8e8fd5636e6059beb2031cb98af3dc1617dd3 (diff) | |
download | hdf5-db3c155bf296fa06ab0df56bb7307f2ba19613e5.zip hdf5-db3c155bf296fa06ab0df56bb7307f2ba19613e5.tar.gz hdf5-db3c155bf296fa06ab0df56bb7307f2ba19613e5.tar.bz2 |
[svn-r14126] Description:
Move H5Gunlink to deprecated symbol section, replacing internal calls
with H5Ldelete.
Tested on:
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Linux/32 2.6 (kagiso)
Linux/64 2.6 (smirom)
Solaris/32 5.10 (linew)
Mac OS X/32 10.4.10 (amazon)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Gdeprec.c | 2 | ||||
-rw-r--r-- | src/H5Gpublic.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Gdeprec.c b/src/H5Gdeprec.c index 34baef3..4e16430 100644 --- a/src/H5Gdeprec.c +++ b/src/H5Gdeprec.c @@ -522,7 +522,6 @@ H5G_move(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, done: FUNC_LEAVE_NOAPI(ret_value) } /* end H5G_move() */ -#endif /* H5_NO_DEPRECATED_SYMBOLS */ /*------------------------------------------------------------------------- @@ -554,6 +553,7 @@ H5Gunlink(hid_t loc_id, const char *name) done: FUNC_LEAVE_API(ret_value) } /* end H5Gunlink() */ +#endif /* H5_NO_DEPRECATED_SYMBOLS */ /*------------------------------------------------------------------------- diff --git a/src/H5Gpublic.h b/src/H5Gpublic.h index 5a40f97..4e2e262 100644 --- a/src/H5Gpublic.h +++ b/src/H5Gpublic.h @@ -137,7 +137,6 @@ H5_DLL herr_t H5Gclose(hid_t group_id); * * Use of these functions and variables is deprecated. */ -H5_DLL herr_t H5Gunlink(hid_t loc_id, const char *name); H5_DLL herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf/*out*/); H5_DLL ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char* name, @@ -170,6 +169,7 @@ H5_DLL herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name); H5_DLL herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name); +H5_DLL herr_t H5Gunlink(hid_t loc_id, const char *name); #endif /* H5_NO_DEPRECATED_SYMBOLS */ |