summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
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/H5public.h
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/H5public.h')
-rw-r--r--src/H5public.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 8fa0cc4..336c624 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -22,8 +22,6 @@
/*
* Data types
*/
-typedef void VOID;
-typedef void *VOIDP;
typedef char char8;
typedef signed char int8;
typedef unsigned char uchar8, uint8;
@@ -99,11 +97,7 @@ typedef intn herr_t;
/*
* Boolean type.
*/
-typedef enum {
- BFAIL = (-1), /*error value */
- BFALSE = 0,
- BTRUE = 1
-} hbool_t;
+typedef int hbool_t;
#ifdef __cplusplus
extern "C" {