summaryrefslogtreecommitdiffstats
path: root/src/H5PLpath.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-27 17:28:11 (GMT)
committerGitHub <noreply@github.com>2022-07-27 17:28:11 (GMT)
commita0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch)
tree3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /src/H5PLpath.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'src/H5PLpath.c')
-rw-r--r--src/H5PLpath.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/H5PLpath.c b/src/H5PLpath.c
index a2bc178..1f78064 100644
--- a/src/H5PLpath.c
+++ b/src/H5PLpath.c
@@ -102,7 +102,7 @@ static unsigned H5PL_path_capacity_g = H5PL_INITIAL_PATH_CAPACITY;
static herr_t
H5PL__insert_at(const char *path, unsigned int idx)
{
- char * path_copy = NULL; /* copy of path string (for storing) */
+ char *path_copy = NULL; /* copy of path string (for storing) */
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -183,7 +183,7 @@ H5PL__make_space_at(unsigned int idx)
static herr_t
H5PL__replace_at(const char *path, unsigned int idx)
{
- char * path_copy = NULL; /* copy of path string (for storing) */
+ char *path_copy = NULL; /* copy of path string (for storing) */
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -233,8 +233,8 @@ H5PL__create_path_table(void)
char *paths = NULL; /* Delimited paths string. Either from the
* environment variable or the default.
*/
- char * next_path = NULL; /* A path tokenized from the paths string */
- char * lasts = NULL; /* Context pointer for strtok_r() call */
+ char *next_path = NULL; /* A path tokenized from the paths string */
+ char *lasts = NULL; /* Context pointer for strtok_r() call */
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_PACKAGE
@@ -603,10 +603,10 @@ H5PL__path_table_iterate_process_path(const char *plugin_path, H5PL_iterate_type
H5PL_iterate_t iter_op, void *op_data)
{
H5PL_type_t plugin_type;
- const void * plugin_info = NULL;
+ const void *plugin_info = NULL;
hbool_t plugin_loaded;
- char * path = NULL;
- DIR * dirp = NULL; /* Directory stream */
+ char *path = NULL;
+ DIR *dirp = NULL; /* Directory stream */
struct dirent *dp = NULL; /* Directory entry */
herr_t ret_value = H5_ITER_CONT;
@@ -694,9 +694,9 @@ H5PL__path_table_iterate_process_path(const char *plugin_path, H5PL_iterate_type
WIN32_FIND_DATAA fdFile;
HANDLE hFind = INVALID_HANDLE_VALUE;
H5PL_type_t plugin_type;
- const void * plugin_info = NULL;
+ const void *plugin_info = NULL;
hbool_t plugin_loaded;
- char * path = NULL;
+ char *path = NULL;
char service[2048];
herr_t ret_value = H5_ITER_CONT;
@@ -834,8 +834,8 @@ static herr_t
H5PL__find_plugin_in_path(const H5PL_search_params_t *search_params, hbool_t *found, const char *dir,
const void **plugin_info)
{
- char * path = NULL;
- DIR * dirp = NULL; /* Directory stream */
+ char *path = NULL;
+ DIR *dirp = NULL; /* Directory stream */
struct dirent *dp = NULL; /* Directory entry */
herr_t ret_value = SUCCEED;
@@ -916,7 +916,7 @@ H5PL__find_plugin_in_path(const H5PL_search_params_t *search_params, hbool_t *fo
{
WIN32_FIND_DATAA fdFile;
HANDLE hFind = INVALID_HANDLE_VALUE;
- char * path = NULL;
+ char *path = NULL;
char service[2048];
herr_t ret_value = SUCCEED;