summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2002-01-04 20:25:59 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2002-01-04 20:25:59 (GMT)
commitadbff268a2c2cf98e7c70e8ffd95821280a4eea6 (patch)
tree0345beeba2d3d37d843678697918ff807745f93e
parentd3078913a18d826bd812237cd827abe359d77520 (diff)
downloadhdf5-adbff268a2c2cf98e7c70e8ffd95821280a4eea6.zip
hdf5-adbff268a2c2cf98e7c70e8ffd95821280a4eea6.tar.gz
hdf5-adbff268a2c2cf98e7c70e8ffd95821280a4eea6.tar.bz2
[svn-r4777]
Purpose: Bug fix Description: SP3 xlc compiler does not allow trailing comma in enum construction. Solution: Replaced enum { var1 =0, var2, etc, } with enum { var1 = 0 ,var2 ,etc } as it is done in the 1.5 branch Platforms tested: NERSC SP3 and modi4.
-rw-r--r--tools/lib/h5tools.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 972aa59..43b284a 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -175,12 +175,12 @@ h5tools_fopen(const char *fname, const char *driver, char *drivername,
/* This enum should match the entries in the above drivers_list since they
* are indexes into the drivers_list array. */
enum {
- SEC2_IDX = 0,
- FAMILY_IDX,
- SPLIT_IDX,
- MULTI_IDX,
+ SEC2_IDX = 0
+ ,FAMILY_IDX
+ ,SPLIT_IDX
+ ,MULTI_IDX
#ifdef H5_HAVE_STREAM
- STREAM_IDX,
+ ,STREAM_IDX
#endif /* H5_HAVE_STREAM */
};
#define NUM_DRIVERS (sizeof(drivers_list) / sizeof(struct d_list))