diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-01-29 12:59:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 12:59:33 (GMT) |
commit | 674e1f02a3ac37cf3d57df1aee902b7af44f398e (patch) | |
tree | 35b83598bb49d92567d70e4f0213344ffaf01f42 /doxygen/examples/hello_hdf5.c | |
parent | 40dfdee0f5d462ebd1134625a832a7f6a6e5c2a8 (diff) | |
download | hdf5-674e1f02a3ac37cf3d57df1aee902b7af44f398e.zip hdf5-674e1f02a3ac37cf3d57df1aee902b7af44f398e.tar.gz hdf5-674e1f02a3ac37cf3d57df1aee902b7af44f398e.tar.bz2 |
1 10 Whitespace changes after clang-format run (#287)
* HDFFV-10865 - merge from dev, HDFArray perf fix.
* Remove duplicate setting
* Whitespace changes after clang format
* Undo version 11 clang format changes
Diffstat (limited to 'doxygen/examples/hello_hdf5.c')
-rw-r--r-- | doxygen/examples/hello_hdf5.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/doxygen/examples/hello_hdf5.c b/doxygen/examples/hello_hdf5.c index 56a179c..a37d39f 100644 --- a/doxygen/examples/hello_hdf5.c +++ b/doxygen/examples/hello_hdf5.c @@ -1,12 +1,13 @@ #include "hdf5.h" -int main() +int +main() { - herr_t retval; - unsigned majnum, minnum, relnum; + herr_t retval; + unsigned majnum, minnum, relnum; - if ((retval = H5get_libversion(&majnum, &minnum, &relnum)) >= 0) { - printf("Hello, HDF5 %d.%d.%d!\n", majnum, minnum, relnum); - } - return retval; + if ((retval = H5get_libversion(&majnum, &minnum, &relnum)) >= 0) { + printf("Hello, HDF5 %d.%d.%d!\n", majnum, minnum, relnum); + } + return retval; } |