summaryrefslogtreecommitdiffstats
path: root/src/H5FDfamily.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-27 17:28:11 (GMT)
committerGitHub <noreply@github.com>2022-07-27 17:28:11 (GMT)
commita0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch)
tree3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /src/H5FDfamily.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'src/H5FDfamily.c')
-rw-r--r--src/H5FDfamily.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/H5FDfamily.c b/src/H5FDfamily.c
index adfa1a3..863fbe1 100644
--- a/src/H5FDfamily.c
+++ b/src/H5FDfamily.c
@@ -60,7 +60,7 @@ typedef struct H5FD_family_t {
unsigned amembs; /*number of member slots allocated */
H5FD_t **memb; /*dynamic array of member pointers */
haddr_t eoa; /*end of allocated addresses */
- char * name; /*name generator printf format */
+ char *name; /*name generator printf format */
unsigned flags; /*flags for opening additional members */
/* Information from properties set by 'h5repart' tool */
@@ -79,8 +79,8 @@ typedef struct H5FD_family_fapl_t {
/* Callback prototypes */
static herr_t H5FD__family_term(void);
-static void * H5FD__family_fapl_get(H5FD_t *_file);
-static void * H5FD__family_fapl_copy(const void *_old_fa);
+static void *H5FD__family_fapl_get(H5FD_t *_file);
+static void *H5FD__family_fapl_copy(const void *_old_fa);
static herr_t H5FD__family_fapl_free(void *_fa);
static hsize_t H5FD__family_sb_size(H5FD_t *_file);
static herr_t H5FD__family_sb_encode(H5FD_t *_file, char *name /*out*/, unsigned char *buf /*out*/);
@@ -241,7 +241,7 @@ H5Pset_fapl_family(hid_t fapl_id, hsize_t msize, hid_t memb_fapl_id)
{
herr_t ret_value;
H5FD_family_fapl_t fa = {0, -1};
- H5P_genplist_t * plist; /* Property list pointer */
+ H5P_genplist_t *plist; /* Property list pointer */
FUNC_ENTER_API(FAIL)
H5TRACE3("e", "ihi", fapl_id, msize, memb_fapl_id);
@@ -284,7 +284,7 @@ done:
herr_t
H5Pget_fapl_family(hid_t fapl_id, hsize_t *msize /*out*/, hid_t *memb_fapl_id /*out*/)
{
- H5P_genplist_t * plist; /* Property list pointer */
+ H5P_genplist_t *plist; /* Property list pointer */
const H5FD_family_fapl_t *fa;
herr_t ret_value = SUCCEED; /* Return value */
@@ -327,10 +327,10 @@ done:
static void *
H5FD__family_fapl_get(H5FD_t *_file)
{
- H5FD_family_t * file = (H5FD_family_t *)_file;
+ H5FD_family_t *file = (H5FD_family_t *)_file;
H5FD_family_fapl_t *fa = NULL;
- H5P_genplist_t * plist; /* Property list pointer */
- void * ret_value = NULL; /* Return value */
+ H5P_genplist_t *plist; /* Property list pointer */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_STATIC
@@ -371,9 +371,9 @@ static void *
H5FD__family_fapl_copy(const void *_old_fa)
{
const H5FD_family_fapl_t *old_fa = (const H5FD_family_fapl_t *)_old_fa;
- H5FD_family_fapl_t * new_fa = NULL;
- H5P_genplist_t * plist; /* Property list pointer */
- void * ret_value = NULL; /* Return value */
+ H5FD_family_fapl_t *new_fa = NULL;
+ H5P_genplist_t *plist; /* Property list pointer */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_STATIC
@@ -585,10 +585,10 @@ static H5FD_t *
H5FD__family_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
{
H5FD_family_t *file = NULL;
- char * memb_name = NULL, *temp = NULL;
+ char *memb_name = NULL, *temp = NULL;
hsize_t eof = HADDR_UNDEF;
unsigned t_flags = flags & ~H5F_ACC_CREAT;
- H5FD_t * ret_value = NULL;
+ H5FD_t *ret_value = NULL;
FUNC_ENTER_STATIC
@@ -610,7 +610,7 @@ H5FD__family_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxad
file->mem_newsize = 0; /*New member size used by h5repart only */
} /* end if */
else {
- H5P_genplist_t * plist; /* Property list pointer */
+ H5P_genplist_t *plist; /* Property list pointer */
const H5FD_family_fapl_t *fa;
if (NULL == (plist = (H5P_genplist_t *)H5I_object(fapl_id)))
@@ -909,7 +909,7 @@ H5FD__family_set_eoa(H5FD_t *_file, H5FD_mem_t type, haddr_t abs_eoa)
{
H5FD_family_t *file = (H5FD_family_t *)_file;
haddr_t addr = abs_eoa;
- char * memb_name = NULL;
+ char *memb_name = NULL;
unsigned u; /* Local index variable */
herr_t ret_value = SUCCEED; /* Return value */
@@ -1044,7 +1044,7 @@ H5FD__family_get_eof(const H5FD_t *_file, H5FD_mem_t type)
static herr_t
H5FD__family_get_handle(H5FD_t *_file, hid_t fapl, void **file_handle)
{
- H5FD_family_t * file = (H5FD_family_t *)_file;
+ H5FD_family_t *file = (H5FD_family_t *)_file;
H5P_genplist_t *plist;
hsize_t offset;
int memb;
@@ -1089,8 +1089,8 @@ static herr_t
H5FD__family_read(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size,
void *_buf /*out*/)
{
- H5FD_family_t * file = (H5FD_family_t *)_file;
- unsigned char * buf = (unsigned char *)_buf;
+ H5FD_family_t *file = (H5FD_family_t *)_file;
+ unsigned char *buf = (unsigned char *)_buf;
haddr_t sub;
size_t req;
hsize_t tempreq;
@@ -1154,13 +1154,13 @@ done:
static herr_t
H5FD__family_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void *_buf)
{
- H5FD_family_t * file = (H5FD_family_t *)_file;
+ H5FD_family_t *file = (H5FD_family_t *)_file;
const unsigned char *buf = (const unsigned char *)_buf;
haddr_t sub;
size_t req;
hsize_t tempreq;
unsigned u; /* Local index variable */
- H5P_genplist_t * plist; /* Property list pointer */
+ H5P_genplist_t *plist; /* Property list pointer */
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC