summaryrefslogtreecommitdiffstats
path: root/test/accum.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 /test/accum.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 'test/accum.c')
-rw-r--r--test/accum.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/accum.c b/test/accum.c
index 58b6c28..bb604f3 100644
--- a/test/accum.c
+++ b/test/accum.c
@@ -91,7 +91,7 @@ main(void)
hid_t fid = -1;
hid_t fapl = -1; /* File access property list */
char filename[1024];
- H5F_t * f = NULL; /* File for all tests */
+ H5F_t *f = NULL; /* File for all tests */
/* Test Setup */
HDputs("Testing the metadata accumulator");
@@ -1942,8 +1942,8 @@ test_random_write(H5F_t *f)
{
uint8_t *wbuf, *rbuf; /* Buffers for reading & writing */
unsigned seed = 0; /* Random # seed */
- size_t * off; /* Offset of buffer segments to write */
- size_t * len; /* Size of buffer segments to write */
+ size_t *off; /* Offset of buffer segments to write */
+ size_t *len; /* Size of buffer segments to write */
size_t cur_off; /* Current offset */
size_t nsegments; /* Number of segments to write */
size_t swap; /* Position to swap with */
@@ -2096,13 +2096,13 @@ test_swmr_write_big(hbool_t newest_format)
hid_t fid = -1; /* File ID */
hid_t fapl = -1; /* File access property list */
- H5F_t * rf = NULL; /* File pointer */
+ H5F_t *rf = NULL; /* File pointer */
char filename[1024];
uint8_t *wbuf2 = NULL, *rbuf = NULL; /* Buffers for reading & writing */
uint8_t wbuf[1024]; /* Buffer for reading & writing */
unsigned u; /* Local index variable */
hbool_t process_success = FALSE;
- char * driver = NULL; /* VFD string (from env variable) */
+ char *driver = NULL; /* VFD string (from env variable) */
hbool_t api_ctx_pushed = FALSE; /* Whether API context pushed */
if (newest_format)