diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-10-01 14:04:36 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-10-01 14:04:36 (GMT) |
commit | f1ba03cea5b82699a984c80bd2deac14fdc8df18 (patch) | |
tree | ebe777c3e0b83f4c4cec9212731da9ebe0a0cfd3 /test/gen_specmetaread.c | |
parent | 10343c197906415388f2a4c8d292e21d25cf7381 (diff) | |
download | hdf5-f1ba03cea5b82699a984c80bd2deac14fdc8df18.zip hdf5-f1ba03cea5b82699a984c80bd2deac14fdc8df18.tar.gz hdf5-f1ba03cea5b82699a984c80bd2deac14fdc8df18.tar.bz2 |
Source formatted
Diffstat (limited to 'test/gen_specmetaread.c')
-rw-r--r-- | test/gen_specmetaread.c | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/test/gen_specmetaread.c b/test/gen_specmetaread.c index f2625a7..edbedbd 100644 --- a/test/gen_specmetaread.c +++ b/test/gen_specmetaread.c @@ -23,27 +23,26 @@ * the library on the trunk as of when this file is checked in. */ - #include "h5test.h" -#define FILENAME "specmetaread.h5" -#define DIM 10 +#define FILENAME "specmetaread.h5" +#define DIM 10 int main(void) { - hid_t fid; - hid_t fapl; - hid_t did; - hid_t space; - hsize_t dim[1] = {DIM}; - unsigned data[DIM]; - unsigned u; - herr_t H5_ATTR_NDEBUG_UNUSED ret; + hid_t fid; + hid_t fapl; + hid_t did; + hid_t space; + hsize_t dim[1] = {DIM}; + unsigned data[DIM]; + unsigned u; + herr_t H5_ATTR_NDEBUG_UNUSED ret; /* Initialize the data */ - for(u = 0; u < DIM; u++) - data[u] = u; + for (u = 0; u < DIM; u++) + data[u] = u; /* Create a FAPL with the metadata and small data aggregators turned off */ fapl = H5Pcreate(H5P_FILE_ACCESS); @@ -91,4 +90,3 @@ main(void) return 0; } - |