summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-29 13:36:40 (GMT)
committerGitHub <noreply@github.com>2022-07-29 13:36:40 (GMT)
commit40fc2cca16cd562954d3b724fa56badb3b9da72b (patch)
tree536b4bb51328af98ead7dfa1951f36b47f9b752a /src/H5system.c
parentc63dfb0fd3345ecb33014612f94d3959f147be03 (diff)
downloadhdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.zip
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.gz
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.bz2
1.10 clang 13 format #1933 (#1940)
* clang 13 format #1933 * Correct workflow
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 e740b72..2d6146c 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;) {
@@ -781,9 +781,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
@@ -804,7 +804,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;
@@ -1031,7 +1031,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
@@ -1098,7 +1098,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);