summaryrefslogtreecommitdiffstats
path: root/examples/h5_extlink.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-06 17:44:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-06 17:44:40 (GMT)
commit32cd8f3fcf6ef1804a2818c84ad3ed92b26c887e (patch)
tree8f81cb8e5466a2a118f2afb3c5be7252c7eb3739 /examples/h5_extlink.c
parent5adf1ee1bab95cce501257e538b638a75c9e72fa (diff)
downloadhdf5-32cd8f3fcf6ef1804a2818c84ad3ed92b26c887e.zip
hdf5-32cd8f3fcf6ef1804a2818c84ad3ed92b26c887e.tar.gz
hdf5-32cd8f3fcf6ef1804a2818c84ad3ed92b26c887e.tar.bz2
[svn-r12865] Description:
Change name of H5Lunlink to H5Ldelete, per our design meeting last Friday. Tested on: Linux/32 2.6 (chicago)
Diffstat (limited to 'examples/h5_extlink.c')
-rw-r--r--examples/h5_extlink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/h5_extlink.c b/examples/h5_extlink.c
index 33cac8e..7cca31e 100644
--- a/examples/h5_extlink.c
+++ b/examples/h5_extlink.c
@@ -370,8 +370,8 @@ void hard_link_example(void)
* other two links to that group and it won't be deleted until the
* UD hard link is deleted.
*/
- H5Lunlink(file_id, TARGET_GROUP, H5P_DEFAULT);
- H5Lunlink(file_id, HARD_LINK_NAME, H5P_DEFAULT);
+ H5Ldelete(file_id, TARGET_GROUP, H5P_DEFAULT);
+ H5Ldelete(file_id, HARD_LINK_NAME, H5P_DEFAULT);
/* The group is still accessible through the UD hard link. If this were
* a soft link instead, the object would have been deleted when the last
@@ -382,7 +382,7 @@ void hard_link_example(void)
H5Gclose(group_id);
/* Removing the user-defined hard link will delete the group. */
- H5Lunlink(file_id, UD_HARD_LINK_NAME, H5P_DEFAULT);
+ H5Ldelete(file_id, UD_HARD_LINK_NAME, H5P_DEFAULT);
H5Fclose(file_id);
}