summaryrefslogtreecommitdiffstats
path: root/test/swmr.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 /test/swmr.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'test/swmr.c')
-rw-r--r--test/swmr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/swmr.c b/test/swmr.c
index 5294267..e991aa8 100644
--- a/test/swmr.c
+++ b/test/swmr.c
@@ -852,7 +852,7 @@ test_metadata_read_retry_info(hid_t in_fapl)
hid_t fid = H5I_INVALID_HID; /* File ID */
hid_t fid1 = H5I_INVALID_HID; /* File ID */
H5F_retry_info_t info, info1; /* The collection of metadata retries */
- H5F_t * f = NULL, *f1 = NULL; /* Internal file object pointers */
+ H5F_t *f = NULL, *f1 = NULL; /* Internal file object pointers */
unsigned i, j, n; /* Local index variables */
hid_t did1 = H5I_INVALID_HID; /* Dataset ID */
hid_t did2 = H5I_INVALID_HID; /* Dataset ID */
@@ -3220,7 +3220,7 @@ test_object_flush_cb(hid_t in_fapl)
hsize_t dims[2] = {5, 10}; /* Dataset dimension sizes */
int buf[50]; /* Data buffer */
H5F_flush_cb_t ret_cb; /* The callback function set in object flush property */
- void * ret_ct; /* The user data set in object flush property */
+ void *ret_ct; /* The user data set in object flush property */
unsigned flush_ct = 0; /* The user data for object flush property */
char filename[NAME_BUF_SIZE]; /* File name */
int i; /* Local index variable */
@@ -3494,7 +3494,7 @@ test_append_flush_generic(void)
unsigned count = 0; /* The user data for append flush property */
hsize_t ret_boundary[3]; /* The boundary set in append flush property */
H5D_append_cb_t ret_cb; /* The callback function set in append flush property */
- unsigned * ret_count; /* The user data set in append flush property */
+ unsigned *ret_count; /* The user data set in append flush property */
herr_t ret; /* The return value */
TESTING("H5Fget/set_append_flush() for a generic dataset access property list");
@@ -3677,7 +3677,7 @@ test_append_flush_dataset_chunked(hid_t in_fapl)
hsize_t ret_boundary[3]; /* Boundary size set in the append flush property */
H5D_append_cb_t ret_cb; /* The callback function set in the append flush property */
- unsigned * ret_count; /* The user data set in the append flush property */
+ unsigned *ret_count; /* The user data set in the append flush property */
char filename[NAME_BUF_SIZE]; /* file name */
@@ -3899,7 +3899,7 @@ test_append_flush_dataset_fixed(hid_t in_fapl)
hsize_t ret_boundary[3]; /* Boundary size set in the append flush property */
H5D_append_cb_t ret_cb; /* The callback function set in the append flush property */
- unsigned * ret_count; /* The user data set in the append flush property */
+ unsigned *ret_count; /* The user data set in the append flush property */
char filename[NAME_BUF_SIZE]; /* file name */
@@ -4121,7 +4121,7 @@ test_append_flush_dataset_multiple(hid_t in_fapl)
hsize_t ret_boundary[3]; /* Boundary size set in the append flush property */
H5D_append_cb_t ret_cb; /* The callback function set in the append flush property */
- unsigned * ret_count; /* The user data set in the append flush property */
+ unsigned *ret_count; /* The user data set in the append flush property */
char filename[NAME_BUF_SIZE]; /* file name */
@@ -7359,8 +7359,8 @@ main(void)
{
int nerrors = 0; /* The # of errors */
hid_t fapl = -1; /* File access property list ID */
- char * driver = NULL; /* VFD string (from env variable) */
- char * lock_env_var = NULL; /* file locking env var pointer */
+ char *driver = NULL; /* VFD string (from env variable) */
+ char *lock_env_var = NULL; /* file locking env var pointer */
hbool_t use_file_locking; /* read from env var */
hbool_t file_locking_enabled = FALSE; /* Checks if the file system supports locks */