summaryrefslogtreecommitdiffstats
path: root/src/H5Olink.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-29 13:36:40 (GMT)
committerGitHub <noreply@github.com>2022-07-29 13:36:40 (GMT)
commit40fc2cca16cd562954d3b724fa56badb3b9da72b (patch)
tree536b4bb51328af98ead7dfa1951f36b47f9b752a /src/H5Olink.c
parentc63dfb0fd3345ecb33014612f94d3959f147be03 (diff)
downloadhdf5-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 'src/H5Olink.c')
-rw-r--r--src/H5Olink.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5Olink.c b/src/H5Olink.c
index 1c9579b..6b87fce 100644
--- a/src/H5Olink.c
+++ b/src/H5Olink.c
@@ -39,13 +39,13 @@
static void *H5O__link_decode(H5F_t *f, H5O_t *open_oh, unsigned mesg_flags, unsigned *ioflags, size_t p_size,
const uint8_t *p);
static herr_t H5O_link_encode(H5F_t *f, hbool_t disable_shared, uint8_t *p, const void *_mesg);
-static void * H5O_link_copy(const void *_mesg, void *_dest);
+static void *H5O_link_copy(const void *_mesg, void *_dest);
static size_t H5O_link_size(const H5F_t *f, hbool_t disable_shared, const void *_mesg);
static herr_t H5O__link_reset(void *_mesg);
static herr_t H5O__link_free(void *_mesg);
static herr_t H5O_link_pre_copy_file(H5F_t *file_src, const void *mesg_src, hbool_t *deleted,
const H5O_copy_t *cpy_info, void *udata);
-static void * H5O__link_copy_file(H5F_t *file_src, void *native_src, H5F_t *file_dst, hbool_t *recompute_size,
+static void *H5O__link_copy_file(H5F_t *file_src, void *native_src, H5F_t *file_dst, hbool_t *recompute_size,
unsigned *mesg_flags, H5O_copy_t *cpy_info, void *udata);
static herr_t H5O__link_post_copy_file(const H5O_loc_t *src_oloc, const void *mesg_src, H5O_loc_t *dst_oloc,
void *mesg_dst, unsigned *mesg_flags, H5O_copy_t *cpy_info);
@@ -114,11 +114,11 @@ static void *
H5O__link_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNUSED mesg_flags,
unsigned H5_ATTR_UNUSED *ioflags, size_t p_size, const uint8_t *p)
{
- H5O_link_t * lnk = NULL; /* Pointer to link message */
+ H5O_link_t *lnk = NULL; /* Pointer to link message */
size_t len = 0; /* Length of a string in the message */
unsigned char link_flags; /* Flags for encoding link info */
const uint8_t *p_end = p + p_size; /* End of the p buffer */
- void * ret_value = NULL; /* Return value */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_STATIC
@@ -414,8 +414,8 @@ static void *
H5O_link_copy(const void *_mesg, void *_dest)
{
const H5O_link_t *lnk = (const H5O_link_t *)_mesg;
- H5O_link_t * dest = (H5O_link_t *)_dest;
- void * ret_value = NULL; /* Return value */
+ H5O_link_t *dest = (H5O_link_t *)_dest;
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_NOAPI_NOINIT
@@ -722,7 +722,7 @@ H5O__link_copy_file(H5F_t H5_ATTR_UNUSED *file_src, void *native_src, H5F_t H5_A
H5O_copy_t H5_ATTR_UNUSED *cpy_info, void H5_ATTR_UNUSED *udata)
{
H5O_link_t *link_src = (H5O_link_t *)native_src;
- void * ret_value = NULL; /* Return value */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_STATIC
@@ -761,7 +761,7 @@ H5O__link_post_copy_file(const H5O_loc_t *src_oloc, const void *mesg_src, H5O_lo
unsigned H5_ATTR_UNUSED *mesg_flags, H5O_copy_t *cpy_info)
{
const H5O_link_t *link_src = (const H5O_link_t *)mesg_src;
- H5O_link_t * link_dst = (H5O_link_t *)mesg_dst;
+ H5O_link_t *link_dst = (H5O_link_t *)mesg_dst;
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC