summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5trav.h
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/h5trav.h
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'tools/lib/h5trav.h')
-rw-r--r--tools/lib/h5trav.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/lib/h5trav.h b/tools/lib/h5trav.h
index 58d347d..a250d23 100644
--- a/tools/lib/h5trav.h
+++ b/tools/lib/h5trav.h
@@ -50,8 +50,8 @@ typedef enum {
*/
typedef struct symlink_trav_path_t {
H5L_type_t type;
- char * file;
- char * path;
+ char *file;
+ char *path;
} symlink_trav_path_t;
typedef struct symlink_trav_t {
@@ -62,7 +62,7 @@ typedef struct symlink_trav_t {
} symlink_trav_t;
typedef struct trav_path_t {
- char * path;
+ char *path;
h5trav_type_t type;
H5O_token_t obj_token; /* object token */
unsigned long fileno; /* File number that object is located in */
@@ -71,11 +71,11 @@ typedef struct trav_path_t {
typedef struct trav_info_t {
size_t nalloc;
size_t nused;
- const char * fname;
+ const char *fname;
hid_t fid; /* File ID */
- trav_path_t * paths;
+ trav_path_t *paths;
symlink_trav_t symlink_visited; /* already visited symbolic links */
- void * opts; /* optional data passing */
+ void *opts; /* optional data passing */
} trav_info_t;
/*-------------------------------------------------------------------------
@@ -95,9 +95,9 @@ typedef struct trav_obj_t {
H5O_token_t obj_token; /* object token */
unsigned flags[2]; /* h5diff.object is present or not in both files*/
hbool_t is_same_trgobj; /* same target object? no need to compare */
- char * name; /* name */
+ char *name; /* name */
h5trav_type_t type; /* type of object */
- trav_link_t * links; /* array of possible link names */
+ trav_link_t *links; /* array of possible link names */
size_t sizelinks; /* size of links array */
size_t nlinks; /* number of links */
} trav_obj_t;