summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-26 21:45:46 (GMT)
committerGitHub <noreply@github.com>2022-07-26 21:45:46 (GMT)
commitae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch)
treeb616f33f5daa89f213e7c64e04c63afde906e939 /tools/lib/h5tools.c
parent213eac2588369f75a11df6bb1788dde33c4b82e2 (diff)
downloadhdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.zip
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.gz
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.bz2
Develop clang 13 format (#1933)
* Update format source to clang 13 * More format changes
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r--tools/lib/h5tools.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 06f6b2d..93886d2 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -30,8 +30,8 @@ int H5tools_INDENT_g = 0;
/* global variables */
H5E_auto2_t lib_func;
H5E_auto2_t tools_func;
-void * lib_edata;
-void * tools_edata;
+void *lib_edata;
+void *tools_edata;
hid_t H5tools_ERR_STACK_g = H5I_INVALID_HID;
hid_t H5tools_ERR_CLS_g = H5I_INVALID_HID;
@@ -625,7 +625,7 @@ h5tools_set_fapl_vol(hid_t fapl_id, h5tools_vol_info_t *vol_info)
{
htri_t connector_is_registered;
hid_t connector_id = H5I_INVALID_HID;
- void * connector_info = NULL;
+ void *connector_info = NULL;
herr_t ret_value = SUCCEED;
switch (vol_info->type) {
@@ -1367,8 +1367,8 @@ h5tools_render_element(FILE *stream, const h5tool_format_t *info, h5tools_contex
hsize_t elmt_counter)
{
hbool_t dimension_break = TRUE;
- char * s = NULL;
- char * section = NULL; /* a section of output */
+ char *s = NULL;
+ char *section = NULL; /* a section of output */
int secnum; /* section sequence number */
int multiline; /* datum was multiline */
@@ -1532,8 +1532,8 @@ h5tools_render_region_element(FILE *stream, const h5tool_format_t *info, h5tools
hsize_t local_elmt_counter, hsize_t elmt_counter)
{
hbool_t dimension_break = TRUE;
- char * s = NULL;
- char * section = NULL; /* a section of output */
+ char *s = NULL;
+ char *section = NULL; /* a section of output */
int secnum; /* section sequence number */
int multiline; /* datum was multiline */
@@ -1776,7 +1776,7 @@ render_bin_output(FILE *stream, hid_t container, hid_t tid, void *_mem, hsize_t
case H5T_STRING: {
unsigned int i;
H5T_str_t pad;
- char * s = NULL;
+ char *s = NULL;
unsigned char tempuchar;
H5TOOLS_DEBUG("H5T_STRING");
@@ -1985,7 +1985,7 @@ render_bin_output_region_data_blocks(hid_t region_id, FILE *stream, hid_t contai
unsigned jndx;
size_t type_size;
hid_t mem_space = H5I_INVALID_HID;
- void * region_buf = NULL;
+ void *region_buf = NULL;
hbool_t past_catch = FALSE;
hsize_t blkndx;
hid_t sid1 = H5I_INVALID_HID;
@@ -2149,7 +2149,7 @@ render_bin_output_region_data_points(hid_t region_space, hid_t region_id, FILE *
hsize_t *dims1 = NULL;
size_t type_size;
hid_t mem_space = H5I_INVALID_HID;
- void * region_buf = NULL;
+ void *region_buf = NULL;
int ret_value = 0;
H5TOOLS_START_DEBUG(" ");