summaryrefslogtreecommitdiffstats
path: root/test/err_compat.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-29 13:36:40 (GMT)
committerGitHub <noreply@github.com>2022-07-29 13:36:40 (GMT)
commit40fc2cca16cd562954d3b724fa56badb3b9da72b (patch)
tree536b4bb51328af98ead7dfa1951f36b47f9b752a /test/err_compat.c
parentc63dfb0fd3345ecb33014612f94d3959f147be03 (diff)
downloadhdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.zip
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.gz
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.bz2
1.10 clang 13 format #1933 (#1940)
* clang 13 format #1933 * Correct workflow
Diffstat (limited to 'test/err_compat.c')
-rw-r--r--test/err_compat.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/err_compat.c b/test/err_compat.c
index 6ad69d8..dbf8581 100644
--- a/test/err_compat.c
+++ b/test/err_compat.c
@@ -35,8 +35,8 @@ const char *FILENAME[] = {"errors_compat", NULL};
int **ipoints2 = NULL;
int **icheck2 = NULL;
-int * ipoints2_data = NULL;
-int * icheck2_data = NULL;
+int *ipoints2_data = NULL;
+int *icheck2_data = NULL;
#define DSET_NAME "a_dataset"
@@ -115,9 +115,9 @@ error:
herr_t
custom_print_cb1(int n, H5E_error1_t *err_desc, void *client_data)
{
- FILE * stream = (FILE *)client_data;
- char * maj = NULL;
- char * min = NULL;
+ FILE *stream = (FILE *)client_data;
+ char *maj = NULL;
+ char *min = NULL;
const int indent = 4;
if (NULL == (min = H5Eget_minor(err_desc->min_num)))
@@ -162,9 +162,9 @@ error:
herr_t
custom_print_cb2(int n, H5E_error2_t *err_desc, void *client_data)
{
- FILE * stream = (FILE *)client_data;
- char * maj = NULL;
- char * min = NULL;
+ FILE *stream = (FILE *)client_data;
+ char *maj = NULL;
+ char *min = NULL;
const int indent = 4;
if (NULL == (min = H5Eget_minor(err_desc->min_num)))
@@ -213,7 +213,7 @@ test_error_compat(void)
hsize_t dims[2];
H5E_auto1_t old_func1;
H5E_auto2_t old_func2;
- void * old_data = NULL;
+ void *old_data = NULL;
herr_t ret;
TESTING("error API H5Eset/get_auto");