From 4a4f9cd82d950fb752587125cb2a011d14ec2223 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 13 Oct 2003 14:26:55 -0500 Subject: [svn-r7615] Purpose: Code cleanup Description: Clean up various compiler warnings. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel too minor to require h5committest --- testpar/t_mdset.c | 1 - testpar/testphdf5.c | 2 +- testpar/testphdf5.h | 2 +- 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 */ -- cgit v0.12