summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-05-01 14:28:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-05-01 14:28:02 (GMT)
commit093060f6f3dda76366b8e6f6c5f7e8b2b5062705 (patch)
treec8cd3d073b157dd62901a87e52f054c926bcad19 /src
parent83d4f43d04a2e6f0e18658e6c2e48e61f97887d3 (diff)
downloadhdf5-093060f6f3dda76366b8e6f6c5f7e8b2b5062705.zip
hdf5-093060f6f3dda76366b8e6f6c5f7e8b2b5062705.tar.gz
hdf5-093060f6f3dda76366b8e6f6c5f7e8b2b5062705.tar.bz2
[svn-r13717] Description:
Clean up some formatting, comments and error messages. Tested on: Mac OS X/32 10.4.9 (amazon) Too minor to require h5committest
Diffstat (limited to 'src')
-rw-r--r--src/H5Gloc.c9
-rw-r--r--src/H5Gnode.c1
2 files changed, 6 insertions, 4 deletions
diff --git a/src/H5Gloc.c b/src/H5Gloc.c
index 247f185..9740d02 100644
--- a/src/H5Gloc.c
+++ b/src/H5Gloc.c
@@ -382,17 +382,18 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5G_loc_find_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name, const H5O_link_t UNUSED *lnk,
- H5G_loc_t *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
+H5G_loc_find_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
+ const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
+ H5G_own_loc_t *own_loc/*out*/)
{
H5G_loc_fnd_t *udata = (H5G_loc_fnd_t *)_udata; /* User data passed in */
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_NOAPI_NOINIT(H5G_loc_find_cb)
- /* Check if the name in this group resolved to a valid link */
+ /* Check if the name in this group resolved to a valid object */
if(obj_loc == NULL)
- HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "name doesn't exist")
+ HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "object doesn't exist")
/* Take ownership of the object's group location */
/* (Group traversal callbacks are responsible for either taking ownership
diff --git a/src/H5Gnode.c b/src/H5Gnode.c
index d37f8da..9486e1a 100644
--- a/src/H5Gnode.c
+++ b/src/H5Gnode.c
@@ -2082,3 +2082,4 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5G_node_debug() */
+