summaryrefslogtreecommitdiffstats
path: root/src/H5Tenum.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 /src/H5Tenum.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 'src/H5Tenum.c')
-rw-r--r--src/H5Tenum.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Tenum.c b/src/H5Tenum.c
index fb0057a..db60063 100644
--- a/src/H5Tenum.c
+++ b/src/H5Tenum.c
@@ -25,7 +25,7 @@
#include "H5Tpkg.h" /*data-type functions */
/* Static local functions */
-static char * H5T__enum_nameof(const H5T_t *dt, const void *value, char *name /*out*/, size_t size);
+static char *H5T__enum_nameof(const H5T_t *dt, const void *value, char *name /*out*/, size_t size);
static herr_t H5T__enum_valueof(const H5T_t *dt, const char *name, void *value /*out*/);
/*-------------------------------------------------------------------------
@@ -193,7 +193,7 @@ H5T__enum_insert(const H5T_t *dt, const char *name, const void *value)
/* Increase table sizes */
if (dt->shared->u.enumer.nmembs >= dt->shared->u.enumer.nalloc) {
- char ** names;
+ char **names;
uint8_t *values;
unsigned n = MAX(32, 2 * dt->shared->u.enumer.nalloc);
@@ -357,11 +357,11 @@ done:
static char *
H5T__enum_nameof(const H5T_t *dt, const void *value, char *name /*out*/, size_t size)
{
- H5T_t * copied_dt = NULL; /* Do sorting in copied datatype */
+ H5T_t *copied_dt = NULL; /* Do sorting in copied datatype */
unsigned lt, md = 0, rt; /* Indices for binary search */
int cmp = (-1); /* Comparison result */
hbool_t alloc_name = FALSE; /* Whether name has been allocated */
- char * ret_value = NULL; /* Return value */
+ char *ret_value = NULL; /* Return value */
FUNC_ENTER_PACKAGE
@@ -490,7 +490,7 @@ H5T__enum_valueof(const H5T_t *dt, const char *name, void *value /*out*/)
{
unsigned lt, md = 0, rt; /*indices for binary search */
int cmp = (-1); /*comparison result */
- H5T_t * copied_dt = NULL; /*do sorting in copied datatype */
+ H5T_t *copied_dt = NULL; /*do sorting in copied datatype */
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_PACKAGE