summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-01-28 20:24:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-01-28 20:24:49 (GMT)
commit55ac27633ba1984d4296159bf06f562d0adaec61 (patch)
tree96a3cd0deec4a113b915b8c527fd4d410074718c /src/H5F.c
parent9287018553d4bc83c1d7bb7691bb3a501604b942 (diff)
downloadhdf5-55ac27633ba1984d4296159bf06f562d0adaec61.zip
hdf5-55ac27633ba1984d4296159bf06f562d0adaec61.tar.gz
hdf5-55ac27633ba1984d4296159bf06f562d0adaec61.tar.bz2
[svn-r188] Changed hbool_t from an enum to 'int' and removed BTRUE/BFALSE/BFAIL from code.
Changed interface to the H5P..hyperslab functions to 'int' instead of 'size_t'. Cleaned up lots of warnings on IRIX 6.2 platform. Minor other tweaks to get to a mostly clean build on the SGI. It still whines about 'long long' being non-standard and some "pointless comparison of unsigned with 0" but those aren't big problems.
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 4abe299..1c09c01 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -258,8 +258,8 @@ H5Fget_create_template(hid_t fid)
H5F_compare_files -- compare file objects for the atom API
USAGE
intn HPcompare_filename(obj, key)
- const VOIDP obj; IN: pointer to the file record
- const VOIDP key; IN: pointer to the search key
+ const void * obj; IN: pointer to the file record
+ const void * key; IN: pointer to the search key
ERRORS
@@ -270,7 +270,7 @@ H5Fget_create_template(hid_t fid)
keys.
--------------------------------------------------------------------------*/
static intn
-H5F_compare_files(const VOIDP _obj, const VOIDP _key)
+H5F_compare_files(const void * _obj, const void * _key)
{
const H5F_t *obj = (const H5F_t *) _obj;
const H5F_search_t *key = (const H5F_search_t *) _key;
@@ -356,22 +356,22 @@ H5Fis_hdf5(const char *filename)
{
H5F_low_t *f_handle = NULL; /* file handle */
haddr_t addr; /* Address of file signature & header */
- hbool_t ret_value = BFALSE;
+ hbool_t ret_value = FALSE;
- FUNC_ENTER(H5Fis_hdf5, BFAIL);
+ FUNC_ENTER(H5Fis_hdf5, FAIL);
/* Clear errors and check args and all the boring stuff. */
H5ECLEAR;
if (filename == NULL)
- HGOTO_ERROR(H5E_ARGS, H5E_BADRANGE, BFAIL, "no filename specified");
+ HGOTO_ERROR(H5E_ARGS, H5E_BADRANGE, FAIL, "no filename specified");
/* Open the file */
if (NULL == (f_handle = H5F_low_open(H5F_LOW_DFLT, filename, 0, NULL))) {
- HGOTO_ERROR(H5E_FILE, H5E_BADFILE, BFAIL,
+ HGOTO_ERROR(H5E_FILE, H5E_BADFILE, FAIL,
"low-level file open failure");
}
if (H5F_locate_signature(f_handle, &addr) >= 0) {
- ret_value = BTRUE;
+ ret_value = TRUE;
}
done:
H5F_low_close(f_handle); /* close the file we opened */