summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-07-09 19:16:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-07-09 19:16:17 (GMT)
commit06f27f99b04f332565b55ec601a4aacc28858c37 (patch)
treeb8c38950bc8fcf96ab1c4a82c95861f331f1670b /src/H5R.c
parent221c1ef220b49d46fa05ff267f11445f6d1a8b44 (diff)
downloadhdf5-06f27f99b04f332565b55ec601a4aacc28858c37.zip
hdf5-06f27f99b04f332565b55ec601a4aacc28858c37.tar.gz
hdf5-06f27f99b04f332565b55ec601a4aacc28858c37.tar.bz2
[svn-r7192] Purpose:
Code cleanup Description: Clean up various minor warnings in the library. Platforms tested: FreeBSD 4.8 (sleipnir) too small to need h5committest
Diffstat (limited to 'src/H5R.c')
-rw-r--r--src/H5R.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 66b22ef..43d1c80 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -40,7 +40,7 @@ static herr_t H5R_create(void *ref, H5G_entry_t *loc, const char *name,
H5R_type_t ref_type, H5S_t *space, hid_t dxpl_id);
static hid_t H5R_dereference(H5F_t *file, hid_t dxpl_id, H5R_type_t ref_type, void *_ref);
static H5S_t * H5R_get_region(H5F_t *file, hid_t dxpl_id, H5R_type_t ref_type, void *_ref);
-static int H5R_get_obj_type(H5F_t *file, hid_t dxpl_id, H5R_type_t ref_type, void *_ref);
+static H5G_obj_t H5R_get_obj_type(H5F_t *file, hid_t dxpl_id, H5R_type_t ref_type, void *_ref);
/*--------------------------------------------------------------------------
@@ -631,7 +631,7 @@ done:
PURPOSE
Retrieves the type of object that an object reference points to
USAGE
- int H5R_get_obj_type(file, ref_type, ref)
+ H5G_obj_t H5R_get_obj_type(file, ref_type, ref)
H5F_t *file; IN: File the object being dereferenced is within
H5R_type_t ref_type; IN: Type of reference to query
void *ref; IN: Reference to query.
@@ -647,12 +647,12 @@ done:
EXAMPLES
REVISION LOG
--------------------------------------------------------------------------*/
-static int
+static H5G_obj_t
H5R_get_obj_type(H5F_t *file, hid_t dxpl_id, H5R_type_t ref_type, void *_ref)
{
H5G_entry_t ent; /* Symbol table entry */
uint8_t *p; /* Pointer to OID to store */
- int ret_value;
+ H5G_obj_t ret_value; /* Return value */
FUNC_ENTER_NOINIT(H5R_get_obj_type);