summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testpar/t_chunk_alloc.c6
1 files 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: