summaryrefslogtreecommitdiffstats
path: root/test/err_compat.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-28 15:05:11 (GMT)
committerGitHub <noreply@github.com>2022-07-28 15:05:11 (GMT)
commit762c111350cc31137a80e24126b00d9aacf3b2a9 (patch)
tree8d21ed8a877bc60b9c517b7505ce80e2cf8031a9 /test/err_compat.c
parentc1c4db3c4a0cbef6eceaab2f069e895936fbbe34 (diff)
downloadhdf5-762c111350cc31137a80e24126b00d9aacf3b2a9.zip
hdf5-762c111350cc31137a80e24126b00d9aacf3b2a9.tar.gz
hdf5-762c111350cc31137a80e24126b00d9aacf3b2a9.tar.bz2
clang 13 format #1933 (#1941)
Diffstat (limited to 'test/err_compat.c')
-rw-r--r--test/err_compat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/err_compat.c b/test/err_compat.c
index fa1ecbd..d3be2fd 100644
--- a/test/err_compat.c
+++ b/test/err_compat.c
@@ -117,9 +117,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)))
@@ -168,9 +168,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)))
@@ -223,7 +223,7 @@ test_error1(void)
hsize_t dims[2];
H5E_auto1_t old_func1;
H5E_auto2_t old_func2;
- void * old_data;
+ void *old_data;
herr_t ret;
TESTING("error API H5Eset/get_auto");