summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2006-06-06 15:24:38 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2006-06-06 15:24:38 (GMT)
commitbb2b80648516cc085a396d5afb399e6741e0b6e1 (patch)
treea20a36ccaa72af59eb1a2cd2a7801b53e23c411f /testpar
parentfbb02673469a3104ed83dc1e6c413cce38204e3b (diff)
downloadhdf5-bb2b80648516cc085a396d5afb399e6741e0b6e1.zip
hdf5-bb2b80648516cc085a396d5afb399e6741e0b6e1.tar.gz
hdf5-bb2b80648516cc085a396d5afb399e6741e0b6e1.tar.bz2
[svn-r12407] Purpose:
slight cleanup. Description: Changed the name of write type from write to write_pattern. Platforms tested: h5committested.
Diffstat (limited to 'testpar')
-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: