summaryrefslogtreecommitdiffstats
path: root/test/gen_plist.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/gen_plist.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/gen_plist.c')
-rw-r--r--test/gen_plist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gen_plist.c b/test/gen_plist.c
index 38f1b3d..14615e4 100644
--- a/test/gen_plist.c
+++ b/test/gen_plist.c
@@ -45,7 +45,7 @@ main(void)
double w0 = 0.5;
unsigned max_compact;
unsigned min_dense;
- const char * c_to_f = "x+32";
+ const char *c_to_f = "x+32";
int little_endian;
int word_length;
H5AC_cache_config_t my_cache_config = {H5AC__CURR_CACHE_CONFIG_VERSION,
@@ -84,7 +84,7 @@ main(void)
/* check endianness */
{
short int word = 0x0001;
- char * byte = (char *)&word;
+ char *byte = (char *)&word;
if (byte[0] == 1)
/* little endian */
@@ -445,7 +445,7 @@ encode_plist(hid_t plist_id, int little_endian, int word_length, const char *fil
{
int fd = 0; /* file descriptor */
herr_t ret = 0;
- void * temp_buf = NULL;
+ void *temp_buf = NULL;
size_t temp_size = 0;
ssize_t H5_ATTR_NDEBUG_UNUSED write_size;
char filename[1024];