summaryrefslogtreecommitdiffstats
path: root/src/H5system.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/H5system.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/H5system.c')
-rw-r--r--src/H5system.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5system.c b/src/H5system.c
index a369e3d..22c9578 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -73,7 +73,7 @@ static hbool_t H5_ntzset = FALSE;
int
HDvasprintf(char **bufp, const char *fmt, va_list _ap)
{
- char * buf; /* buffer to receive formatted string */
+ char *buf; /* buffer to receive formatted string */
size_t bufsz; /* size of buffer to allocate */
for (bufsz = 32; (buf = HDmalloc(bufsz)) != NULL;) {
@@ -659,9 +659,9 @@ done:
herr_t
H5_build_extpath(const char *name, char **extpath /*out*/)
{
- char * full_path = NULL; /* Pointer to the full path, as built or passed in */
- char * cwdpath = NULL; /* Pointer to the current working directory path */
- char * new_name = NULL; /* Pointer to the name of the file */
+ char *full_path = NULL; /* Pointer to the full path, as built or passed in */
+ char *cwdpath = NULL; /* Pointer to the current working directory path */
+ char *new_name = NULL; /* Pointer to the name of the file */
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_NOAPI_NOINIT
@@ -682,7 +682,7 @@ H5_build_extpath(const char *name, char **extpath /*out*/)
HGOTO_ERROR(H5E_INTERNAL, H5E_NOSPACE, FAIL, "memory allocation failed")
} /* end if */
else { /* relative pathname */
- char * retcwd;
+ char *retcwd;
size_t name_len;
int drive;
@@ -909,7 +909,7 @@ herr_t
H5_expand_windows_env_vars(char **env_var)
{
long n_chars = 0;
- char * temp_buf = NULL;
+ char *temp_buf = NULL;
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_NOAPI_NOINIT
@@ -976,7 +976,7 @@ H5_get_option(int argc, const char *const *argv, const char *opts, const struct
/* long command line option */
int i;
const char ch = '=';
- char * arg = HDstrdup(&argv[H5_optind][2]);
+ char *arg = HDstrdup(&argv[H5_optind][2]);
size_t arg_len = 0;
H5_optarg = strchr(&argv[H5_optind][2], ch);