summaryrefslogtreecommitdiffstats
path: root/src/H5FDros3.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/H5FDros3.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/H5FDros3.c')
-rw-r--r--src/H5FDros3.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/H5FDros3.c b/src/H5FDros3.c
index 3ac034d..90c5798 100644
--- a/src/H5FDros3.c
+++ b/src/H5FDros3.c
@@ -195,7 +195,7 @@ typedef struct H5FD_ros3_t {
H5FD_t pub;
H5FD_ros3_fapl_t fa;
haddr_t eoa;
- s3r_t * s3r_handle;
+ s3r_t *s3r_handle;
#if ROS3_STATS
ros3_statsbin meta[ROS3_STATS_BIN_COUNT + 1];
ros3_statsbin raw[ROS3_STATS_BIN_COUNT + 1];
@@ -217,8 +217,8 @@ typedef struct H5FD_ros3_t {
/* Prototypes */
static herr_t H5FD__ros3_term(void);
-static void * H5FD__ros3_fapl_get(H5FD_t *_file);
-static void * H5FD__ros3_fapl_copy(const void *_old_fa);
+static void *H5FD__ros3_fapl_get(H5FD_t *_file);
+static void *H5FD__ros3_fapl_copy(const void *_old_fa);
static herr_t H5FD__ros3_fapl_free(void *_fa);
static H5FD_t *H5FD__ros3_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr);
static herr_t H5FD__ros3_close(H5FD_t *_file);
@@ -478,7 +478,7 @@ herr_t
H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
{
const H5FD_ros3_fapl_t *fa = NULL;
- H5P_genplist_t * plist = NULL;
+ H5P_genplist_t *plist = NULL;
herr_t ret_value = SUCCEED;
FUNC_ENTER_API(FAIL)
@@ -527,9 +527,9 @@ done:
static void *
H5FD__ros3_fapl_get(H5FD_t *_file)
{
- H5FD_ros3_t * file = (H5FD_ros3_t *)_file;
+ H5FD_ros3_t *file = (H5FD_ros3_t *)_file;
H5FD_ros3_fapl_t *fa = NULL;
- void * ret_value = NULL;
+ void *ret_value = NULL;
FUNC_ENTER_STATIC
@@ -569,8 +569,8 @@ static void *
H5FD__ros3_fapl_copy(const void *_old_fa)
{
const H5FD_ros3_fapl_t *old_fa = (const H5FD_ros3_fapl_t *)_old_fa;
- H5FD_ros3_fapl_t * new_fa = NULL;
- void * ret_value = NULL;
+ H5FD_ros3_fapl_t *new_fa = NULL;
+ void *ret_value = NULL;
FUNC_ENTER_STATIC
@@ -703,13 +703,13 @@ done:
static H5FD_t *
H5FD__ros3_open(const char *url, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
{
- H5FD_ros3_t * file = NULL;
- struct tm * now = NULL;
+ H5FD_ros3_t *file = NULL;
+ struct tm *now = NULL;
char iso8601now[ISO8601_SIZE];
unsigned char signing_key[SHA256_DIGEST_LENGTH];
- s3r_t * handle = NULL;
+ s3r_t *handle = NULL;
H5FD_ros3_fapl_t fa;
- H5FD_t * ret_value = NULL;
+ H5FD_t *ret_value = NULL;
FUNC_ENTER_STATIC
@@ -852,7 +852,7 @@ static herr_t
ros3_fprint_stats(FILE *stream, const H5FD_ros3_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;
@@ -1159,8 +1159,8 @@ done:
static int
H5FD__ros3_cmp(const H5FD_t *_f1, const H5FD_t *_f2)
{
- const H5FD_ros3_t * f1 = (const H5FD_ros3_t *)_f1;
- const H5FD_ros3_t * f2 = (const H5FD_ros3_t *)_f2;
+ const H5FD_ros3_t *f1 = (const H5FD_ros3_t *)_f1;
+ const H5FD_ros3_t *f2 = (const H5FD_ros3_t *)_f2;
const parsed_url_t *purl1 = NULL;
const parsed_url_t *purl2 = NULL;
int ret_value = 0;