summaryrefslogtreecommitdiffstats
path: root/test/gen_specmetaread.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2021-10-29 22:10:31 (GMT)
committerGitHub <noreply@github.com>2021-10-29 22:10:31 (GMT)
commit111c7ae9ac2efc29e8b399e6951253af9110b81a (patch)
treef69fa03253bdab97d7cf3615baff02cd936323f9 /test/gen_specmetaread.c
parentdb30c2da68ece4a155e9e50c28ec16d6057509b2 (diff)
downloadhdf5-hdf5-1_10_8.zip
hdf5-hdf5-1_10_8.tar.gz
hdf5-hdf5-1_10_8.tar.bz2
Merge hdf5 1 10 8 (#1154)hdf5-1_10_8
Merge HDF5 1.10.8 release files to 1.10/master
Diffstat (limited to 'test/gen_specmetaread.c')
-rw-r--r--test/gen_specmetaread.c28
1 files changed, 13 insertions, 15 deletions
diff --git a/test/gen_specmetaread.c b/test/gen_specmetaread.c
index ca44f9a..5ec1f98 100644
--- a/test/gen_specmetaread.c
+++ b/test/gen_specmetaread.c
@@ -6,7 +6,7 @@
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
- * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
@@ -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;
}
-