summaryrefslogtreecommitdiffstats
path: root/test/ohdr.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/ohdr.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/ohdr.c')
-rw-r--r--test/ohdr.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/ohdr.c b/test/ohdr.c
index dc0497f..d6fee11 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -73,12 +73,12 @@ static herr_t
test_cont(char *filename, hid_t fapl)
{
hid_t file = -1;
- H5F_t * f = NULL;
+ H5F_t *f = NULL;
H5O_hdr_info_t hdr_info;
H5O_loc_t oh_locA, oh_locB;
time_t time_new;
- const char * short_name = "T";
- const char * long_name = "This is the message";
+ const char *short_name = "T";
+ const char *long_name = "This is the message";
size_t nchunks;
TESTING("object header continuation block");
@@ -188,8 +188,8 @@ test_ohdr_cache(char *filename, hid_t fapl)
hid_t file = -1; /* File ID */
hid_t my_fapl; /* FAPL ID */
H5AC_cache_config_t mdc_config; /* Metadata cache configuration info */
- H5F_t * f = NULL; /* File handle */
- H5HL_t * lheap, *lheap2, *lheap3; /* Pointer to local heaps */
+ H5F_t *f = NULL; /* File handle */
+ H5HL_t *lheap, *lheap2, *lheap3; /* Pointer to local heaps */
haddr_t lheap_addr, lheap_addr2, lheap_addr3; /* Local heap addresses */
H5O_loc_t oh_loc; /* Object header location */
time_t time_new; /* Time value for modification time message */
@@ -328,7 +328,7 @@ test_ohdr_swmr(hbool_t new_format)
hid_t sid = -1; /* Dataspace ID */
hid_t plist = -1; /* Dataset creation property list */
size_t compact_size = 1024; /* The size of compact dataset */
- int * wbuf = NULL; /* Buffer for writing */
+ int *wbuf = NULL; /* Buffer for writing */
hsize_t dims[1]; /* Dimension sizes */
size_t u; /* Iterator */
int n; /* Data variable */
@@ -908,8 +908,8 @@ test_minimized_dset_ohdr_attribute_addition(hid_t fapl_id)
hid_t sid = H5I_INVALID_HID;
hid_t did = H5I_INVALID_HID;
hid_t aid = H5I_INVALID_HID;
- char * in_buf = NULL;
- char * out_buf = NULL;
+ char *in_buf = NULL;
+ char *out_buf = NULL;
size_t buf_size = 0;
int out_val = 0;
int in_val = 0;
@@ -1833,8 +1833,8 @@ main(void)
{
hid_t fapl = -1;
hid_t file = -1;
- H5F_t * f = NULL;
- const char * env_h5_drvr; /* File driver value from environment */
+ H5F_t *f = NULL;
+ const char *env_h5_drvr; /* File driver value from environment */
hbool_t single_file_vfd; /* Whether VFD used stores data in a single file */
char filename[1024];
H5O_hdr_info_t hdr_info; /* Object info */