summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-08-28 22:30:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-08-28 22:30:13 (GMT)
commitcae55b647da56ab390e048219efaef6a1afdccee (patch)
treedda27fc3626007a176e732585c28518d1a3d1eed /src
parent518e0ede771cbe1064fb8b42388450fd20fa3a62 (diff)
downloadhdf5-cae55b647da56ab390e048219efaef6a1afdccee.zip
hdf5-cae55b647da56ab390e048219efaef6a1afdccee.tar.gz
hdf5-cae55b647da56ab390e048219efaef6a1afdccee.tar.bz2
[svn-r14122] Description:
Move H5Gmove() to deprecated code section, replacing with H5Lmove() in source files. 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.c2
-rw-r--r--src/H5Gname.c2
-rw-r--r--src/H5Gpublic.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Gdeprec.c b/src/H5Gdeprec.c
index 7e7c051..a6f072a 100644
--- a/src/H5Gdeprec.c
+++ b/src/H5Gdeprec.c
@@ -416,7 +416,6 @@ H5G_link_hard(hid_t cur_loc_id, const char *cur_name, hid_t new_loc_id,
done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5G_link_hard() */
-#endif /* H5_NO_DEPRECATED_SYMBOLS */
/*-------------------------------------------------------------------------
@@ -441,6 +440,7 @@ H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
done:
FUNC_LEAVE_API(ret_value)
} /* end H5Gmove() */
+#endif /* H5_NO_DEPRECATED_SYMBOLS */
/*-------------------------------------------------------------------------
diff --git a/src/H5Gname.c b/src/H5Gname.c
index a4635bc..db7ccbb 100644
--- a/src/H5Gname.c
+++ b/src/H5Gname.c
@@ -843,7 +843,7 @@ H5G_name_replace_cb(void *obj_ptr, hid_t obj_id, void *key)
* H5G_NAME_MOVE
*-------------------------------------------------------------------------
*/
- case H5G_NAME_MOVE: /* H5Gmove case, check for relative names case */
+ case H5G_NAME_MOVE: /* Link move case, check for relative names case */
/* Check if the src object moved is in the current object's path */
if(H5G_common_path(obj_path->full_path_r, names->src_full_path_r)) {
const char *full_path; /* Full path of current object */
diff --git a/src/H5Gpublic.h b/src/H5Gpublic.h
index 11f8f7b..8cddbce 100644
--- a/src/H5Gpublic.h
+++ b/src/H5Gpublic.h
@@ -137,8 +137,6 @@ H5_DLL herr_t H5Gclose(hid_t group_id);
*
* Use of these functions and variables is deprecated.
*/
-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);
@@ -170,6 +168,8 @@ H5_DLL herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name,
const char *new_name);
H5_DLL herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type,
hid_t new_loc_id, const char *new_name);
+H5_DLL herr_t H5Gmove(hid_t src_loc_id, const char *src_name,
+ const char *dst_name);
#endif /* H5_NO_DEPRECATED_SYMBOLS */