diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 14:27:10 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 14:27:10 (GMT) |
commit | b2d661b508a7fc7a2592c13bc6bdc175551f075d (patch) | |
tree | 13baeb0d83a7c2a4c6299993c182b1227c2f6114 /test/gen_new_super.c | |
parent | 29ab58b58dce556639ea3154e262895773a8a8df (diff) | |
download | hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.zip hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.gz hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.bz2 |
Clang-format of source files
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; } - |