diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-29 13:36:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 13:36:40 (GMT) |
commit | 40fc2cca16cd562954d3b724fa56badb3b9da72b (patch) | |
tree | 536b4bb51328af98ead7dfa1951f36b47f9b752a /tools/lib/h5tools_utils.c | |
parent | c63dfb0fd3345ecb33014612f94d3959f147be03 (diff) | |
download | hdf5-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 'tools/lib/h5tools_utils.c')
-rw-r--r-- | tools/lib/h5tools_utils.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index 97c3534..16f0fea 100644 --- a/tools/lib/h5tools_utils.c +++ b/tools/lib/h5tools_utils.c @@ -49,7 +49,7 @@ hsize_t H5TOOLS_BUFSIZE = (32 * 1024 * 1024); /* 32 MB */ unsigned char g_Parallel = 0; /*0 for serial, 1 for parallel */ char outBuff[OUTBUFF_SIZE]; unsigned outBuffOffset; -FILE * overflow_file = NULL; +FILE *overflow_file = NULL; /* local functions */ static void init_table(table_t **tbl); @@ -196,7 +196,7 @@ get_option(int argc, const char *const *argv, const char *opts, const struct lon /* long command line option */ int i; const char ch = '='; - char * arg = HDstrdup(&argv[opt_ind][2]); + char *arg = HDstrdup(&argv[opt_ind][2]); size_t arg_len = 0; opt_arg = strchr(&argv[opt_ind][2], ch); @@ -389,12 +389,12 @@ get_option(int argc, const char *const *argv, const char *opts, const struct lon herr_t parse_tuple(const char *start, int sep, char **cpy_out, unsigned *nelems, char ***ptrs_out) { - char * elem_ptr = NULL; - char * dest_ptr = NULL; + char *elem_ptr = NULL; + char *dest_ptr = NULL; unsigned elems_count = 0; - char ** elems = NULL; /* more like *elems[], but compiler... */ - char ** elems_re = NULL; /* temporary pointer, for realloc */ - char * cpy = NULL; + char **elems = NULL; /* more like *elems[], but compiler... */ + char **elems_re = NULL; /* temporary pointer, for realloc */ + char *cpy = NULL; herr_t ret_value = SUCCEED; unsigned init_slots = 2; @@ -666,7 +666,7 @@ dump_tables(find_objs_t *info) *------------------------------------------------------------------------- */ H5_ATTR_PURE obj_t * - search_obj(table_t *table, haddr_t objno) +search_obj(table_t *table, haddr_t objno) { unsigned u; @@ -1064,8 +1064,8 @@ h5tools_parse_ros3_fapl_tuple(const char *tuple_str, int delim, H5FD_ros3_fapl_t { const char *ccred[3]; unsigned nelems = 0; - char * s3cred_src = NULL; - char ** s3cred = NULL; + char *s3cred_src = NULL; + char **s3cred = NULL; herr_t ret_value = SUCCEED; /* Attempt to parse S3 credentials tuple */ @@ -1217,8 +1217,8 @@ h5tools_parse_hdfs_fapl_tuple(const char *tuple_str, int delim, H5FD_hdfs_fapl_t { unsigned long k = 0; unsigned nelems = 0; - char * props_src = NULL; - char ** props = NULL; + char *props_src = NULL; + char **props = NULL; herr_t ret_value = SUCCEED; /* Attempt to parse HDFS configuration tuple */ |