diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-10-01 15:29:53 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-10-01 15:29:53 (GMT) |
commit | ec8ad09125032c9c232878d02e90aa86df162841 (patch) | |
tree | 5d63105d3a0db7d5bbee41c5b74b097649a2115e /test/gen_new_super.c | |
parent | 453238e90e1574ef1c15e3c79f7fb3d77920e77c (diff) | |
download | hdf5-ec8ad09125032c9c232878d02e90aa86df162841.zip hdf5-ec8ad09125032c9c232878d02e90aa86df162841.tar.gz hdf5-ec8ad09125032c9c232878d02e90aa86df162841.tar.bz2 |
Source formatted
Diffstat (limited to 'test/gen_new_super.c')
-rw-r--r-- | test/gen_new_super.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/test/gen_new_super.c b/test/gen_new_super.c index 36f2187..c3c22c1 100644 --- a/test/gen_new_super.c +++ b/test/gen_new_super.c @@ -25,10 +25,9 @@ #include "h5test.h" -#define TESTFILE "tsupern.h5" -#define ISTORE_IK 64 +#define TESTFILE "tsupern.h5" +#define ISTORE_IK 64 - /*------------------------------------------------------------------------- * Function: main * @@ -44,15 +43,15 @@ int main(void) { - hid_t file; /* File IDs for old & new files */ - hid_t fcpl; /* File creation property list */ - herr_t H5_ATTR_NDEBUG_UNUSED ret; + hid_t file; /* File IDs for old & new files */ + hid_t fcpl; /* File creation property list */ + herr_t H5_ATTR_NDEBUG_UNUSED ret; /* Create a file creation property list */ fcpl = H5Pcreate(H5P_FILE_CREATE); HDassert(fcpl >= 0); - ret = H5Pset_istore_k(fcpl,ISTORE_IK); + ret = H5Pset_istore_k(fcpl, ISTORE_IK); HDassert(ret >= 0); /* Creating a file with the non-default file creation property list should @@ -60,7 +59,7 @@ main(void) */ /* Create file with custom file creation property list */ - file = H5Fcreate(TESTFILE, H5F_ACC_TRUNC , fcpl, H5P_DEFAULT); + file = H5Fcreate(TESTFILE, H5F_ACC_TRUNC, fcpl, H5P_DEFAULT); HDassert(file >= 0); /* Close FCPL */ @@ -73,4 +72,3 @@ main(void) return EXIT_SUCCESS; } - |