summaryrefslogtreecommitdiffstats
path: root/src/H5Plapl.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/H5Plapl.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/H5Plapl.c')
-rw-r--r--src/H5Plapl.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5Plapl.c b/src/H5Plapl.c
index 88c28bf..451d0d9 100644
--- a/src/H5Plapl.c
+++ b/src/H5Plapl.c
@@ -160,7 +160,7 @@ const H5P_libclass_t H5P_CLS_LACC[1] = {{
/* Property value defaults */
static const size_t H5L_def_nlinks_g = H5L_ACS_NLINKS_DEF; /* Default number of soft links to traverse */
-static const char * H5L_def_elink_prefix_g =
+static const char *H5L_def_elink_prefix_g =
H5L_ACS_ELINK_PREFIX_DEF; /* Default external link prefix string */
static const hid_t H5L_def_fapl_id_g = H5L_ACS_ELINK_FAPL_DEF; /* Default fapl for external link access */
static const unsigned H5L_def_elink_flags_g =
@@ -337,8 +337,8 @@ done:
static herr_t
H5P__lacc_elink_fapl_enc(const void *value, void **_pp, size_t *size)
{
- const hid_t * elink_fapl = (const hid_t *)value; /* Property to encode */
- uint8_t ** pp = (uint8_t **)_pp;
+ const hid_t *elink_fapl = (const hid_t *)value; /* Property to encode */
+ uint8_t **pp = (uint8_t **)_pp;
H5P_genplist_t *fapl_plist; /* Pointer to property list */
hbool_t non_default_fapl = FALSE; /* Whether the FAPL is non-default */
size_t fapl_size = 0; /* FAPL's encoded size */
@@ -408,7 +408,7 @@ done:
static herr_t
H5P__lacc_elink_fapl_dec(const void **_pp, void *_value)
{
- hid_t * elink_fapl = (hid_t *)_value; /* The elink FAPL value */
+ hid_t *elink_fapl = (hid_t *)_value; /* The elink FAPL value */
const uint8_t **pp = (const uint8_t **)_pp;
hbool_t non_default_fapl; /* Whether the FAPL is non-default */
herr_t ret_value = SUCCEED; /* Return value */
@@ -542,8 +542,8 @@ done:
static int
H5P__lacc_elink_fapl_cmp(const void *value1, const void *value2, size_t H5_ATTR_UNUSED size)
{
- const hid_t * fapl1 = (const hid_t *)value1;
- const hid_t * fapl2 = (const hid_t *)value2;
+ const hid_t *fapl1 = (const hid_t *)value1;
+ const hid_t *fapl2 = (const hid_t *)value2;
H5P_genplist_t *obj1, *obj2; /* Property lists to compare */
int ret_value = 0;
@@ -685,7 +685,7 @@ static herr_t
H5P__lacc_elink_pref_enc(const void *value, void **_pp, size_t *size)
{
const char *elink_pref = *(const char *const *)value;
- uint8_t ** pp = (uint8_t **)_pp;
+ uint8_t **pp = (uint8_t **)_pp;
size_t len = 0;
uint64_t enc_value;
unsigned enc_size;
@@ -739,7 +739,7 @@ H5P__lacc_elink_pref_enc(const void *value, void **_pp, size_t *size)
static herr_t
H5P__lacc_elink_pref_dec(const void **_pp, void *_value)
{
- char ** elink_pref = (char **)_value;
+ char **elink_pref = (char **)_value;
const uint8_t **pp = (const uint8_t **)_pp;
size_t len;
uint64_t enc_value; /* Decoded property value */
@@ -1024,7 +1024,7 @@ ssize_t
H5Pget_elink_prefix(hid_t plist_id, char *prefix /*out*/, size_t size)
{
H5P_genplist_t *plist; /* Property list pointer */
- char * my_prefix; /* Library's copy of the prefix */
+ char *my_prefix; /* Library's copy of the prefix */
size_t len; /* Length of prefix string */
ssize_t ret_value; /* Return value */