summaryrefslogtreecommitdiffstats
path: root/test/gen_specmetaread.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:27:10 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:27:10 (GMT)
commitb2d661b508a7fc7a2592c13bc6bdc175551f075d (patch)
tree13baeb0d83a7c2a4c6299993c182b1227c2f6114 /test/gen_specmetaread.c
parent29ab58b58dce556639ea3154e262895773a8a8df (diff)
downloadhdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.zip
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.gz
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.bz2
Clang-format of source files
Diffstat (limited to 'test/gen_specmetaread.c')
-rw-r--r--test/gen_specmetaread.c26
1 files changed, 12 insertions, 14 deletions
diff --git a/test/gen_specmetaread.c b/test/gen_specmetaread.c
index ca44f9a..4156d79 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;
}
-