summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-13 19:26:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-13 19:26:55 (GMT)
commit4a4f9cd82d950fb752587125cb2a011d14ec2223 (patch)
treead992651716c6dd77a63298de8c89fee1ae42e88
parent6e9280392a078ff464e3e35ac2cf99a3118dd17f (diff)
downloadhdf5-4a4f9cd82d950fb752587125cb2a011d14ec2223.zip
hdf5-4a4f9cd82d950fb752587125cb2a011d14ec2223.tar.gz
hdf5-4a4f9cd82d950fb752587125cb2a011d14ec2223.tar.bz2
[svn-r7615] Purpose:
Code cleanup Description: Clean up various compiler warnings. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel too minor to require h5committest
-rw-r--r--testpar/t_mdset.c1
-rw-r--r--testpar/testphdf5.c2
-rw-r--r--testpar/testphdf5.h2
3 files changed, 2 insertions, 3 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c
index 3bbad86..5dfeb3b 100644
--- a/testpar/t_mdset.c
+++ b/testpar/t_mdset.c
@@ -112,7 +112,6 @@ void compact_dataset(char *filename)
hbool_t use_gpfs = FALSE;
hid_t iof, plist, dcpl, dxpl, dataset, filespace;
hsize_t file_dims [DIM]={SIZE,SIZE};
- hsize_t count[DIM]={1,1};
double outme [SIZE][SIZE], inme[SIZE][SIZE];
char dname[]="dataset";
herr_t ret;
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 761c26c..436cccb 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -36,7 +36,7 @@ int ngroups = 512; /* number of groups to create in root
* group. */
int facc_type = FACC_MPIO; /*Test file access type */
-herr_t (*old_func)(void*); /* previous error handler */
+H5E_auto_t old_func; /* previous error handler */
void *old_client_data; /* previous error handler arg.*/
/* other option flags */
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h
index b6f5dc2..9a55f6e 100644
--- a/testpar/testphdf5.h
+++ b/testpar/testphdf5.h
@@ -117,7 +117,7 @@ extern int dim0, dim1; /*Dataset dimensions */
extern int chunkdim0, chunkdim1; /*Chunk dimensions */
extern int nerrors; /*errors count */
extern int verbose; /*verbose, default as no. */
-extern herr_t (*old_func)(void*); /*previous error handler */
+extern H5E_auto_t old_func; /* previous error handler */
extern void *old_client_data; /*previous error handler arg.*/
extern int facc_type; /*Test file access type */