summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_dset.c2
-rw-r--r--testpar/t_mdset.c2
-rw-r--r--testpar/testphdf5.c2
-rw-r--r--testpar/testphdf5.h1
4 files changed, 4 insertions, 3 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index 4c74d8d..056f64e 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -136,7 +136,7 @@ dataset_print(hssize_t start[], hsize_t block[], DATATYPE * dataset)
/* print the column heading */
printf("%-8s", "Cols:");
for (j=0; j < block[1]; j++){
- printf("%3ld ", (long)start[1]+j);
+ printf("%3ld ", (long)(start[1]+j));
}
printf("\n");
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c
index c03de3c..574fdb4 100644
--- a/testpar/t_mdset.c
+++ b/testpar/t_mdset.c
@@ -85,7 +85,7 @@ void multiple_dset_write(char *filename, int ndatasets)
*/
void compact_dataset(char *filename)
{
- int i, j, n, mpi_size, mpi_rank, err_num=0;
+ int i, j, mpi_size, mpi_rank, err_num=0;
hid_t iof, plist, dcpl, dxpl, dataset, memspace, filespace;
hssize_t chunk_origin [DIM];
hsize_t chunk_dims [DIM], file_dims [DIM];
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 95fe93c..0f0e723 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -122,7 +122,7 @@ usage(void)
/*
* parse the command line options
*/
-int
+static int
parse_options(int argc, char **argv)
{
int mpi_size, mpi_rank; /* mpi variables */
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h
index 47d7ac0..1e0e47a 100644
--- a/testpar/testphdf5.h
+++ b/testpar/testphdf5.h
@@ -110,6 +110,7 @@ void extend_writeInd(char *filename);
void dataset_readInd(char *filename);
void dataset_readAll(char *filename);
void extend_readInd(char *filename);
+void compact_dataset(char *filename);
int dataset_vrfy(hssize_t start[], hsize_t count[], hsize_t stride[], hsize_t block[], DATATYPE *dataset, DATATYPE *original);
#endif /* PHDF5TEST_H */