diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-20 15:19:18 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-20 15:19:18 (GMT) |
commit | 970416829fb40ee7f1c33fe1289e9b7b88ad84a9 (patch) | |
tree | c344e5f62bb295d7e6385ef6918f9761c751b5b0 /src/H5G.c | |
parent | e34f6e8c9ef53157422f871b4f674946d02370d3 (diff) | |
download | hdf5-970416829fb40ee7f1c33fe1289e9b7b88ad84a9.zip hdf5-970416829fb40ee7f1c33fe1289e9b7b88ad84a9.tar.gz hdf5-970416829fb40ee7f1c33fe1289e9b7b88ad84a9.tar.bz2 |
[svn-r7071] Purpose:
Code cleanup
Description:
Tweak internal iterator over IDs to not require constant "operator" data.
Platforms tested:
FreeBSD 4.8 (sleipnir)
h5committest
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -183,7 +183,7 @@ static herr_t H5G_unlink(H5G_entry_t *loc, const char *name, hid_t dxpl_id); static herr_t H5G_get_num_objs(H5G_t *grp, hsize_t *num_objs, hid_t dxpl_id); static ssize_t H5G_get_objname_by_idx(H5G_t *grp, hsize_t idx, char* name, size_t size, hid_t dxpl_id); static int H5G_get_objtype_by_idx(H5G_t *grp, hsize_t idx, hid_t dxpl_id); -static herr_t H5G_replace_ent(void *obj_ptr, hid_t obj_id, const void *key); +static int H5G_replace_ent(void *obj_ptr, hid_t obj_id, void *key); static herr_t H5G_traverse_slink(H5G_entry_t *grp_ent/*in,out*/, H5G_entry_t *obj_ent/*in,out*/, int *nlinks/*in,out*/, hid_t dxpl_id); static herr_t H5G_set_comment(H5G_entry_t *loc, const char *name, @@ -3288,8 +3288,8 @@ done: * *------------------------------------------------------------------------- */ -static herr_t -H5G_replace_ent(void *obj_ptr, hid_t obj_id, const void *key) +static int +H5G_replace_ent(void *obj_ptr, hid_t obj_id, void *key) { const H5G_names_t *names = (const H5G_names_t *)key; /* Get operation's information */ H5G_entry_t *ent = NULL; /* Group entry for object that the ID refers to */ |