summaryrefslogtreecommitdiffstats
path: root/test/err_compat.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-27 17:28:11 (GMT)
committerGitHub <noreply@github.com>2022-07-27 17:28:11 (GMT)
commita0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch)
tree3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /test/err_compat.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
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");