diff options
author | Quincey Koziol <koziol@koziol.gov> | 2020-04-20 23:12:00 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:37:19 (GMT) |
commit | d35daa45e90c46670ee160fa7437a573b24a90ad (patch) | |
tree | bd8d903e14d2f230caabdd48a39a1d3e19cb4237 /examples/h5_crtdat.c | |
parent | 071fe1dc3979932b12f23cb7cc5a61f860367cf2 (diff) | |
download | hdf5-d35daa45e90c46670ee160fa7437a573b24a90ad.zip hdf5-d35daa45e90c46670ee160fa7437a573b24a90ad.tar.gz hdf5-d35daa45e90c46670ee160fa7437a573b24a90ad.tar.bz2 |
Trim trailing whitespace
Diffstat (limited to 'examples/h5_crtdat.c')
-rw-r--r-- | examples/h5_crtdat.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/h5_crtdat.c b/examples/h5_crtdat.c index 4a876d2..9fcb186 100644 --- a/examples/h5_crtdat.c +++ b/examples/h5_crtdat.c @@ -12,7 +12,7 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* - * This example illustrates how to create a dataset that is a 4 x 6 + * This example illustrates how to create a dataset that is a 4 x 6 * array. It is used in the HDF5 Tutorial. */ @@ -29,18 +29,18 @@ int main() { file_id = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); /* Create the data space for the dataset. */ - dims[0] = 4; - dims[1] = 6; + dims[0] = 4; + dims[1] = 6; dataspace_id = H5Screate_simple(2, dims, NULL); /* Create the dataset. */ - dataset_id = H5Dcreate2(file_id, "/dset", H5T_STD_I32BE, dataspace_id, + dataset_id = H5Dcreate2(file_id, "/dset", H5T_STD_I32BE, dataspace_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); /* End access to the dataset and release resources used by it. */ status = H5Dclose(dataset_id); - /* Terminate access to the data space. */ + /* Terminate access to the data space. */ status = H5Sclose(dataspace_id); /* Close the file. */ |