summaryrefslogtreecommitdiffstats
path: root/test/gen_bad_compound.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_bad_compound.c
parent29ab58b58dce556639ea3154e262895773a8a8df (diff)
downloadhdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.zip
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.gz
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.bz2
Clang-format of source files
Diffstat (limited to 'test/gen_bad_compound.c')
-rw-r--r--test/gen_bad_compound.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/gen_bad_compound.c b/test/gen_bad_compound.c
index bd857b4..ec0933f 100644
--- a/test/gen_bad_compound.c
+++ b/test/gen_bad_compound.c
@@ -26,16 +26,17 @@
#define FILENAME "bad_compound.h5"
-int main()
+int
+main()
{
- hid_t file;
- hid_t cmpd_dt;
- hid_t sid;
- hid_t did;
- hid_t aid;
- hid_t gid;
- hsize_t dim = 1;
- herr_t ret;
+ hid_t file;
+ hid_t cmpd_dt;
+ hid_t sid;
+ hid_t did;
+ hid_t aid;
+ hid_t gid;
+ hsize_t dim = 1;
+ herr_t ret;
/* Create compound datatype, but don't insert fields */
cmpd_dt = H5Tcreate(H5T_COMPOUND, (size_t)8);
@@ -79,6 +80,5 @@ int main()
ret = H5Fclose(file);
assert(ret >= 0);
- return(0);
+ return (0);
}
-