summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-04-22 17:48:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-04-22 17:48:24 (GMT)
commite5fc40662c6520edc50c7e68c96e24eb766972f2 (patch)
treec619f15e55b290c16fc082da15746864ba7c5b81 /perform
parent7527ed7d6f3d122e2b00e919c4a8d993b1e196be (diff)
downloadhdf5-e5fc40662c6520edc50c7e68c96e24eb766972f2.zip
hdf5-e5fc40662c6520edc50c7e68c96e24eb766972f2.tar.gz
hdf5-e5fc40662c6520edc50c7e68c96e24eb766972f2.tar.bz2
[svn-r5219] Purpose:
Code cleanup Description: Clean up warnings from gcc 3.1 Platforms tested: FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'perform')
-rw-r--r--perform/chunk.c4
-rw-r--r--perform/overhead.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/perform/chunk.c b/perform/chunk.c
index db2db14..71d3903 100644
--- a/perform/chunk.c
+++ b/perform/chunk.c
@@ -83,8 +83,8 @@ static hid_t fapl_g = -1;
*/
static size_t
counter (unsigned UNUSED flags, size_t UNUSED cd_nelmts,
- const unsigned * UNUSED cd_values, size_t nbytes,
- size_t * UNUSED buf_size, void ** UNUSED buf)
+ const unsigned UNUSED *cd_values, size_t nbytes,
+ size_t UNUSED *buf_size, void UNUSED **buf)
{
nio_g += nbytes;
return nbytes;
diff --git a/perform/overhead.c b/perform/overhead.c
index 264a3ce..641bc50 100644
--- a/perform/overhead.c
+++ b/perform/overhead.c
@@ -43,8 +43,12 @@
#endif
#define FILE_NAME_1 "overhead.h5"
+#ifndef FALSE
#define FALSE 0
+#endif /* FALSE */
+#ifndef TRUE
#define TRUE 1
+#endif /* TRUE */
typedef enum fill_t {
FILL_ALL,