summaryrefslogtreecommitdiffstats
path: root/hl/examples
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-26 21:45:46 (GMT)
committerGitHub <noreply@github.com>2022-07-26 21:45:46 (GMT)
commitae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch)
treeb616f33f5daa89f213e7c64e04c63afde906e939 /hl/examples
parent213eac2588369f75a11df6bb1788dde33c4b82e2 (diff)
downloadhdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.zip
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.gz
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.bz2
Develop clang 13 format (#1933)
* Update format source to clang 13 * More format changes
Diffstat (limited to 'hl/examples')
-rw-r--r--hl/examples/ex_image2.c4
-rw-r--r--hl/examples/ex_table_01.c2
-rw-r--r--hl/examples/ex_table_02.c2
-rw-r--r--hl/examples/ex_table_08.c2
-rw-r--r--hl/examples/ex_table_10.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/hl/examples/ex_image2.c b/hl/examples/ex_image2.c
index be9fc4b..52e8228 100644
--- a/hl/examples/ex_image2.c
+++ b/hl/examples/ex_image2.c
@@ -118,8 +118,8 @@ out:
static int
read_data(const char *fname, /*IN*/
- hsize_t * width, /*OUT*/
- hsize_t * height /*OUT*/)
+ hsize_t *width, /*OUT*/
+ hsize_t *height /*OUT*/)
{
int i, n;
int color_planes;
diff --git a/hl/examples/ex_table_01.c b/hl/examples/ex_table_01.c
index 3294ef4..d23a975 100644
--- a/hl/examples/ex_table_01.c
+++ b/hl/examples/ex_table_01.c
@@ -61,7 +61,7 @@ main(void)
hid_t string_type;
hid_t file_id;
hsize_t chunk_size = 10;
- int * fill_data = NULL;
+ int *fill_data = NULL;
int compress = 0;
int i;
diff --git a/hl/examples/ex_table_02.c b/hl/examples/ex_table_02.c
index fb2cad6..7d1482e 100644
--- a/hl/examples/ex_table_02.c
+++ b/hl/examples/ex_table_02.c
@@ -61,7 +61,7 @@ main(void)
hid_t string_type;
hid_t file_id;
hsize_t chunk_size = 10;
- int * fill_data = NULL;
+ int *fill_data = NULL;
int compress = 0;
int i;
diff --git a/hl/examples/ex_table_08.c b/hl/examples/ex_table_08.c
index 1063172..831dcf5 100644
--- a/hl/examples/ex_table_08.c
+++ b/hl/examples/ex_table_08.c
@@ -63,7 +63,7 @@ main(void)
hid_t file_id;
hsize_t chunk_size = 10;
int compress = 0;
- int * fill_data = NULL;
+ int *fill_data = NULL;
hsize_t start; /* Record to start reading */
hsize_t nrecords; /* Number of records to insert/delete */
hsize_t nfields_out;
diff --git a/hl/examples/ex_table_10.c b/hl/examples/ex_table_10.c
index c974e84..b38ba16 100644
--- a/hl/examples/ex_table_10.c
+++ b/hl/examples/ex_table_10.c
@@ -60,7 +60,7 @@ main(void)
hid_t file_id;
hsize_t chunk_size = 10;
int compress = 0;
- int * fill_data = NULL;
+ int *fill_data = NULL;
hsize_t nfields_out;
hsize_t nrecords_out;
int i;