summaryrefslogtreecommitdiffstats
path: root/src/H5FDhdfs.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/H5FDhdfs.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/H5FDhdfs.c')
-rw-r--r--src/H5FDhdfs.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/H5FDhdfs.c b/src/H5FDhdfs.c
index 53c63f7..d81e8a5 100644
--- a/src/H5FDhdfs.c
+++ b/src/H5FDhdfs.c
@@ -236,7 +236,7 @@ typedef struct H5FD_hdfs_t {
H5FD_t pub;
H5FD_hdfs_fapl_t fa;
haddr_t eoa;
- hdfs_t * hdfs_handle;
+ hdfs_t *hdfs_handle;
#if HDFS_STATS
hdfs_statsbin meta[HDFS_STATS_BIN_COUNT + 1];
hdfs_statsbin raw[HDFS_STATS_BIN_COUNT + 1];
@@ -258,8 +258,8 @@ typedef struct H5FD_hdfs_t {
/* Prototypes */
static herr_t H5FD__hdfs_term(void);
-static void * H5FD__hdfs_fapl_get(H5FD_t *_file);
-static void * H5FD__hdfs_fapl_copy(const void *_old_fa);
+static void *H5FD__hdfs_fapl_get(H5FD_t *_file);
+static void *H5FD__hdfs_fapl_copy(const void *_old_fa);
static herr_t H5FD__hdfs_fapl_free(void *_fa);
static H5FD_t *H5FD__hdfs_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr);
static herr_t H5FD__hdfs_close(H5FD_t *_file);
@@ -416,8 +416,8 @@ H5FD__hdfs_handle_open(const char *path, const char *namenode_name, const int32_
const int32_t stream_buffer_size)
{
struct hdfsBuilder *builder = NULL;
- hdfs_t * handle = NULL;
- hdfs_t * ret_value = NULL;
+ hdfs_t *handle = NULL;
+ hdfs_t *ret_value = NULL;
FUNC_ENTER_PACKAGE
@@ -632,7 +632,7 @@ herr_t
H5Pget_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa_dst /*out*/)
{
const H5FD_hdfs_fapl_t *fa_src = NULL;
- H5P_genplist_t * plist = NULL;
+ H5P_genplist_t *plist = NULL;
herr_t ret_value = SUCCEED;
FUNC_ENTER_API(FAIL)
@@ -680,9 +680,9 @@ done:
static void *
H5FD__hdfs_fapl_get(H5FD_t *_file)
{
- H5FD_hdfs_t * file = (H5FD_hdfs_t *)_file;
+ H5FD_hdfs_t *file = (H5FD_hdfs_t *)_file;
H5FD_hdfs_fapl_t *fa = NULL;
- void * ret_value = NULL;
+ void *ret_value = NULL;
FUNC_ENTER_PACKAGE
@@ -720,8 +720,8 @@ static void *
H5FD__hdfs_fapl_copy(const void *_old_fa)
{
const H5FD_hdfs_fapl_t *old_fa = (const H5FD_hdfs_fapl_t *)_old_fa;
- H5FD_hdfs_fapl_t * new_fa = NULL;
- void * ret_value = NULL;
+ H5FD_hdfs_fapl_t *new_fa = NULL;
+ void *ret_value = NULL;
FUNC_ENTER_PACKAGE
@@ -846,9 +846,9 @@ done:
static H5FD_t *
H5FD__hdfs_open(const char *path, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
{
- H5FD_t * ret_value = NULL;
- H5FD_hdfs_t * file = NULL;
- hdfs_t * handle = NULL;
+ H5FD_t *ret_value = NULL;
+ H5FD_hdfs_t *file = NULL;
+ hdfs_t *handle = NULL;
H5FD_hdfs_fapl_t fa;
FUNC_ENTER_PACKAGE
@@ -967,7 +967,7 @@ static herr_t
hdfs__fprint_stats(FILE *stream, const H5FD_hdfs_t *file)
{
herr_t ret_value = SUCCEED;
- parsed_url_t * purl = NULL;
+ parsed_url_t *purl = NULL;
unsigned i = 0;
unsigned long count_meta = 0;
unsigned long count_raw = 0;
@@ -1242,8 +1242,8 @@ H5FD__hdfs_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
int ret_value = 0;
const H5FD_hdfs_t *f1 = (const H5FD_hdfs_t *)_f1;
const H5FD_hdfs_t *f2 = (const H5FD_hdfs_t *)_f2;
- hdfsFileInfo * finfo1 = NULL;
- hdfsFileInfo * finfo2 = NULL;
+ hdfsFileInfo *finfo1 = NULL;
+ hdfsFileInfo *finfo2 = NULL;
FUNC_ENTER_PACKAGE_NOERR