summaryrefslogtreecommitdiffstats
path: root/src/H5Gdeprec.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-08-28 21:31:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-08-28 21:31:57 (GMT)
commit74ceb182bd741925909195abfbc07052c24f88d5 (patch)
treeb0a7a4a5403b67a5f202ddf4d8f71c06343e3a67 /src/H5Gdeprec.c
parent1b488cbc147f2eaf5f95bb06ac2370145f455f4d (diff)
downloadhdf5-74ceb182bd741925909195abfbc07052c24f88d5.zip
hdf5-74ceb182bd741925909195abfbc07052c24f88d5.tar.gz
hdf5-74ceb182bd741925909195abfbc07052c24f88d5.tar.bz2
[svn-r14120] Description:
Move H5Glink2 to deprecated routines section. 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/H5Gdeprec.c')
-rw-r--r--src/H5Gdeprec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Gdeprec.c b/src/H5Gdeprec.c
index 3ee2c2b..7e7c051 100644
--- a/src/H5Gdeprec.c
+++ b/src/H5Gdeprec.c
@@ -75,8 +75,10 @@ typedef struct {
/* Local Prototypes */
/********************/
+#ifndef H5_NO_DEPRECATED_SYMBOLS
static herr_t H5G_link_hard(hid_t cur_loc_id, const char *cur_name,
hid_t new_loc_id, const char *new_name);
+#endif /* H5_NO_DEPRECATED_SYMBOLS */
static herr_t H5G_move(hid_t src_loc_id, const char *src_name,
hid_t dst_loc_id, const char *dst_name);
static herr_t H5G_set_comment(H5G_loc_t *loc, const char *name,
@@ -309,7 +311,6 @@ H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new
done:
FUNC_LEAVE_API(ret_value)
} /* end H5Glink() */
-#endif /* H5_NO_DEPRECATED_SYMBOLS */
/*-------------------------------------------------------------------------
@@ -415,6 +416,7 @@ 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 */
/*-------------------------------------------------------------------------