summaryrefslogtreecommitdiffstats
path: root/src/H5Eint.c
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 /src/H5Eint.c
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 'src/H5Eint.c')
-rw-r--r--src/H5Eint.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/H5Eint.c b/src/H5Eint.c
index b8b9238..6d8e576 100644
--- a/src/H5Eint.c
+++ b/src/H5Eint.c
@@ -47,7 +47,7 @@
/* Printing information */
typedef struct H5E_print_t {
- FILE * stream;
+ FILE *stream;
H5E_cls_t cls;
} H5E_print_t;
@@ -181,12 +181,12 @@ static herr_t
H5E__walk1_cb(int n, H5E_error1_t *err_desc, void *client_data)
{
H5E_print_t *eprint = (H5E_print_t *)client_data;
- FILE * stream; /* I/O stream to print output to */
- H5E_cls_t * cls_ptr; /* Pointer to error class */
- H5E_msg_t * maj_ptr; /* Pointer to major error info */
- H5E_msg_t * min_ptr; /* Pointer to minor error info */
- const char * maj_str = "No major description"; /* Major error description */
- const char * min_str = "No minor description"; /* Minor error description */
+ FILE *stream; /* I/O stream to print output to */
+ H5E_cls_t *cls_ptr; /* Pointer to error class */
+ H5E_msg_t *maj_ptr; /* Pointer to major error info */
+ H5E_msg_t *min_ptr; /* Pointer to minor error info */
+ const char *maj_str = "No major description"; /* Major error description */
+ const char *min_str = "No minor description"; /* Minor error description */
unsigned have_desc = 1; /* Flag to indicate whether the error has a "real" description */
herr_t ret_value = SUCCEED;
@@ -304,12 +304,12 @@ static herr_t
H5E__walk2_cb(unsigned n, const H5E_error2_t *err_desc, void *client_data)
{
H5E_print_t *eprint = (H5E_print_t *)client_data;
- FILE * stream; /* I/O stream to print output to */
- H5E_cls_t * cls_ptr; /* Pointer to error class */
- H5E_msg_t * maj_ptr; /* Pointer to major error info */
- H5E_msg_t * min_ptr; /* Pointer to minor error info */
- const char * maj_str = "No major description"; /* Major error description */
- const char * min_str = "No minor description"; /* Minor error description */
+ FILE *stream; /* I/O stream to print output to */
+ H5E_cls_t *cls_ptr; /* Pointer to error class */
+ H5E_msg_t *maj_ptr; /* Pointer to major error info */
+ H5E_msg_t *min_ptr; /* Pointer to minor error info */
+ const char *maj_str = "No major description"; /* Major error description */
+ const char *min_str = "No minor description"; /* Minor error description */
unsigned have_desc = 1; /* Flag to indicate whether the error has a "real" description */
herr_t ret_value = SUCCEED;
@@ -651,7 +651,7 @@ H5E_printf_stack(H5E_t *estack, const char *file, const char *func, unsigned lin
hid_t min_id, const char *fmt, ...)
{
va_list ap; /* Varargs info */
- char * tmp = NULL; /* Buffer to place formatted description in */
+ char *tmp = NULL; /* Buffer to place formatted description in */
hbool_t va_started = FALSE; /* Whether the variable argument list is open */
herr_t ret_value = SUCCEED; /* Return value */