summaryrefslogtreecommitdiffstats
path: root/src/H5.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/H5.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/H5.c')
-rw-r--r--src/H5.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5.c b/src/H5.c
index 3078140..c86a644 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -50,7 +50,7 @@
/* Node for list of 'atclose' routines to invoke at library shutdown */
typedef struct H5_atclose_node_t {
H5_atclose_func_t func; /* Function to invoke */
- void * ctx; /* Context to pass to function */
+ void *ctx; /* Context to pass to function */
struct H5_atclose_node_t *next; /* Pointer to next node in list */
} H5_atclose_node_t;
@@ -146,7 +146,7 @@ herr_t
H5_init_library(void)
{
size_t i;
- char * env_use_select_io = NULL;
+ char *env_use_select_io = NULL;
herr_t ret_value = SUCCEED;
FUNC_ENTER_NOAPI(FAIL)
@@ -782,7 +782,7 @@ done:
static void
H5__debug_mask(const char *s)
{
- FILE * stream = stderr;
+ FILE *stream = stderr;
char pkg_name[32], *rest;
size_t i;
hbool_t clear;
@@ -964,8 +964,8 @@ H5check_version(unsigned majnum, unsigned minnum, unsigned relnum)
char substr[] = H5_VERS_SUBRELEASE;
static int checked = 0; /* If we've already checked the version info */
static unsigned int disable_version_check = 0; /* Set if the version check should be disabled */
- static const char * version_mismatch_warning = VERSION_MISMATCH_WARNING;
- static const char * release_mismatch_warning = RELEASE_MISMATCH_WARNING;
+ static const char *version_mismatch_warning = VERSION_MISMATCH_WARNING;
+ static const char *release_mismatch_warning = RELEASE_MISMATCH_WARNING;
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_NOINIT_NOERR_NOFS