From bb2b80648516cc085a396d5afb399e6741e0b6e1 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 6 Jun 2006 10:24:38 -0500 Subject: [svn-r12407] Purpose: slight cleanup. Description: Changed the name of write type from write to write_pattern. Platforms tested: h5committested. --- testpar/t_chunk_alloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testpar/t_chunk_alloc.c b/testpar/t_chunk_alloc.c index 6c857eb..7186099 100644 --- a/testpar/t_chunk_alloc.c +++ b/testpar/t_chunk_alloc.c @@ -49,7 +49,7 @@ get_filesize(const char *filename) return(filesize); } -typedef enum write_ { +typedef enum write_pattern { none, sec_last, all @@ -68,7 +68,7 @@ typedef enum access_ { * routine will open this in parallel for extension test. */ void -create_chunked_dataset(const char *filename, int nchunks, write_type write) +create_chunked_dataset(const char *filename, int nchunks, write_type write_pattern) { hid_t file_id, dataset; /* handles */ hid_t dataspace,memspace; @@ -124,7 +124,7 @@ create_chunked_dataset(const char *filename, int nchunks, write_type write) dataset = H5Dcreate (file_id, DATASETNAME, H5T_NATIVE_UCHAR, dataspace, cparms); VRFY((dataset >= 0), ""); - switch (write) { + switch (write_pattern) { /* writes only the second to last chunk */ case sec_last: -- cgit v0.12