summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.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 /tools/lib/h5diff.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r--tools/lib/h5diff.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index 2275c72..d75e14b 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -342,8 +342,8 @@ build_match_list(const char *objname1, trav_info_t *info1, const char *objname2,
size_t curr1 = 0;
size_t curr2 = 0;
unsigned infile[2];
- char * path1_lp = NULL;
- char * path2_lp = NULL;
+ char *path1_lp = NULL;
+ char *path2_lp = NULL;
h5trav_type_t type1_l;
h5trav_type_t type2_l;
size_t path1_offset = 0;
@@ -486,11 +486,11 @@ trav_grp_objs(const char *path, const H5O_info2_t *oinfo, const char *already_vi
static herr_t
trav_grp_symlinks(const char *path, const H5L_info2_t *linfo, void *udata)
{
- trav_info_t * tinfo = (trav_info_t *)udata;
- diff_opt_t * opts = (diff_opt_t *)tinfo->opts;
+ trav_info_t *tinfo = (trav_info_t *)udata;
+ diff_opt_t *opts = (diff_opt_t *)tinfo->opts;
h5tool_link_info_t lnk_info;
- const char * ext_fname;
- const char * ext_path;
+ const char *ext_fname;
+ const char *ext_path;
herr_t ret_value = SUCCEED;
H5TOOLS_START_DEBUG(" ");
@@ -601,8 +601,8 @@ h5diff(const char *fname1, const char *fname2, const char *objname1, const char
hsize_t nfound = 0;
int l_ret1 = -1;
int l_ret2 = -1;
- char * obj1fullname = NULL;
- char * obj2fullname = NULL;
+ char *obj1fullname = NULL;
+ char *obj2fullname = NULL;
int both_objs_grp = 0;
/* init to group type */
h5trav_type_t obj1type = H5TRAV_TYPE_GROUP;
@@ -1103,8 +1103,8 @@ diff_match(hid_t file1_id, const char *grp1, trav_info_t *info1, hid_t file2_id,
unsigned i;
const char *grp1_path = "";
const char *grp2_path = "";
- char * obj1_fullpath = NULL;
- char * obj2_fullpath = NULL;
+ char *obj1_fullpath = NULL;
+ char *obj2_fullpath = NULL;
diff_args_t argdata;
size_t idx1 = 0;
size_t idx2 = 0;
@@ -1153,7 +1153,7 @@ diff_match(hid_t file1_id, const char *grp1, trav_info_t *info1, hid_t file2_id,
*/
#ifdef H5_HAVE_PARALLEL
{
- char * workerTasks = (char *)HDmalloc((size_t)(g_nTasks - 1) * sizeof(char));
+ char *workerTasks = (char *)HDmalloc((size_t)(g_nTasks - 1) * sizeof(char));
int n;
int busyTasks = 0;
struct diffs_found nFoundbyWorker;