diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-28 21:31:57 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-28 21:31:57 (GMT) |
commit | 74ceb182bd741925909195abfbc07052c24f88d5 (patch) | |
tree | b0a7a4a5403b67a5f202ddf4d8f71c06343e3a67 /tools | |
parent | 1b488cbc147f2eaf5f95bb06ac2370145f455f4d (diff) | |
download | hdf5-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 'tools')
-rw-r--r-- | tools/h5repack/h5repacktst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repacktst.c b/tools/h5repack/h5repacktst.c index 1d0264a..c21b858 100644 --- a/tools/h5repack/h5repacktst.c +++ b/tools/h5repack/h5repacktst.c @@ -1706,9 +1706,9 @@ int make_hlinks(hid_t loc_id) if((group3_id = H5Gcreate2(group2_id, "g3", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0) return -1; - if(H5Glink2(loc_id, "g1", H5L_TYPE_HARD, group2_id, "link1 to g1")<0) + if(H5Lcreate_hard(loc_id, "g1", group2_id, "link1 to g1", H5P_DEFAULT, H5P_DEFAULT) < 0) return -1; - if(H5Glink2(group1_id, "g2", H5L_TYPE_HARD, group3_id, "link1 to g2")<0) + if(H5Lcreate_hard(group1_id, "g2", group3_id, "link1 to g2", H5P_DEFAULT, H5P_DEFAULT) < 0) return -1; H5Gclose(group1_id); |