summaryrefslogtreecommitdiffstats
path: root/tools/src/h5perf/sio_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/src/h5perf/sio_engine.c')
-rw-r--r--tools/src/h5perf/sio_engine.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/src/h5perf/sio_engine.c b/tools/src/h5perf/sio_engine.c
index eff5f61..376fc0b 100644
--- a/tools/src/h5perf/sio_engine.c
+++ b/tools/src/h5perf/sio_engine.c
@@ -84,7 +84,7 @@ typedef union {
} file_descr;
/* local functions */
-static char * sio_create_filename(iotype iot, const char *base_name, char *fullname, size_t size,
+static char *sio_create_filename(iotype iot, const char *base_name, char *fullname, size_t size,
parameters *param);
static herr_t do_write(results *res, file_descr *fd, parameters *parms, void *buffer);
static herr_t do_read(results *res, file_descr *fd, parameters *parms, void *buffer);
@@ -107,7 +107,7 @@ static int cont_dim; /* lowest dimension for contigu
static size_t cont_size; /* size of contiguous POSIX access */
static hid_t fapl; /* file access list */
static unsigned char *buf_p; /* buffer pointer */
-static const char * multi_letters = "msbrglo"; /* string for multi driver */
+static const char *multi_letters = "msbrglo"; /* string for multi driver */
/* HDF5 global variables */
static hsize_t h5count[MAX_DIMS]; /*selection count */
@@ -127,7 +127,7 @@ static hid_t h5dxpl = H5I_INVALID_HID; /* Dataset transfer property
void
do_sio(parameters param, results *res)
{
- char * buffer = NULL; /*data buffer pointer */
+ char *buffer = NULL; /*data buffer pointer */
size_t buf_size[MAX_DIMS]; /* general buffer size in bytes */
file_descr fd; /* file handles */
iotype iot; /* API type */
@@ -288,7 +288,7 @@ static char *
sio_create_filename(iotype iot, const char *base_name, char *fullname, size_t size, parameters *param)
{
const char *prefix, *suffix = "";
- char * ptr, last = '\0';
+ char *ptr, last = '\0';
size_t i, j;
vfdtype vfd;
vfd = param->vfd;
@@ -767,7 +767,7 @@ done:
static herr_t
do_read(results *res, file_descr *fd, parameters *parms, void *buffer)
{
- char * buffer2 = NULL; /* Buffer for data verification */
+ char *buffer2 = NULL; /* Buffer for data verification */
int ret_code = SUCCESS;
char dname[64];
int i;
@@ -1274,7 +1274,7 @@ done:
static void
do_cleanupfile(iotype iot, char *filename)
{
- char * temp = NULL;
+ char *temp = NULL;
size_t temp_sz;
int j;
hid_t driver;