diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-01-05 16:36:59 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-01-05 16:36:59 (GMT) |
commit | 240c679e80d717b993d0b43bd38ffdddd615565e (patch) | |
tree | d16c7ae5f96c1aebb0c0c0988432bd516e926da5 /tools | |
parent | 3c6be60da7927d3f5dd2486dc193cabe98f08276 (diff) | |
download | hdf5-240c679e80d717b993d0b43bd38ffdddd615565e.zip hdf5-240c679e80d717b993d0b43bd38ffdddd615565e.tar.gz hdf5-240c679e80d717b993d0b43bd38ffdddd615565e.tar.bz2 |
[svn-r4783]
Purpose:
Small Fix
Description:
Changed how the list of drivers were listed from:
{ "driver1",
"driver2",
/* ... */
"drivern",
#ifdef FOO
"driverm"
#endif
};
to
{ "driver1"
,"driver2"
/* ... */
,"drivern"
#ifdef FOO
,"driverm"
#endif
};
since it's a nicer way of doing the same thing without the annoying
warning of an extraneous , if FOO isn't defined.
Platforms tested:
Dangermouse, Modi4, Kelgia
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/h5tools.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index c97914a..b2c4cec 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -164,12 +164,12 @@ h5tools_fopen(const char *fname, const char *driver, char *drivername, const char *name; hid_t fapl; } drivers_list[] = { - { "sec2", FAIL }, - { "family", FAIL }, - { "split", FAIL }, - { "multi", FAIL }, + { "sec2", FAIL } + ,{ "family", FAIL } + ,{ "split", FAIL } + ,{ "multi", FAIL } #ifdef H5_HAVE_STREAM - { "stream", FAIL }, + ,{ "stream", FAIL } #endif /* H5_HAVE_STREAM */ }; /* This enum should match the entries in the above drivers_list since they |