summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-20 15:19:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-20 15:19:18 (GMT)
commit970416829fb40ee7f1c33fe1289e9b7b88ad84a9 (patch)
treec344e5f62bb295d7e6385ef6918f9761c751b5b0 /src/H5G.c
parente34f6e8c9ef53157422f871b4f674946d02370d3 (diff)
downloadhdf5-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5G.c b/src/H5G.c
index b7c1fa4..fa83b44 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -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 */