summaryrefslogtreecommitdiffstats
path: root/src/H5mpi.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 /src/H5mpi.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 'src/H5mpi.c')
-rw-r--r--src/H5mpi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5mpi.c b/src/H5mpi.c
index f951e1e..e95b590 100644
--- a/src/H5mpi.c
+++ b/src/H5mpi.c
@@ -341,9 +341,9 @@ herr_t
H5_mpi_info_cmp(MPI_Info info1, MPI_Info info2, int *result)
{
hbool_t same = FALSE;
- char * key = NULL;
- char * value1 = NULL;
- char * value2 = NULL;
+ char *key = NULL;
+ char *value1 = NULL;
+ char *value2 = NULL;
herr_t ret_value = SUCCEED;
FUNC_ENTER_NOAPI(FAIL)
@@ -627,7 +627,7 @@ H5_mpio_gatherv_alloc(void *send_buf, int send_count, MPI_Datatype send_type, co
MPI_Comm comm, int mpi_rank, int mpi_size, void **out_buf, size_t *out_buf_num_entries)
{
size_t recv_buf_num_entries = 0;
- void * recv_buf = NULL;
+ void *recv_buf = NULL;
#if H5_CHECK_MPI_VERSION(3, 0)
MPI_Count type_lb;
MPI_Count type_extent;
@@ -720,7 +720,7 @@ H5_mpio_gatherv_alloc_simple(void *send_buf, int send_count, MPI_Datatype send_t
hbool_t allgather, int root, MPI_Comm comm, int mpi_rank, int mpi_size,
void **out_buf, size_t *out_buf_num_entries)
{
- int * recv_counts_disps_array = NULL;
+ int *recv_counts_disps_array = NULL;
int mpi_code;
herr_t ret_value = SUCCEED;
@@ -760,7 +760,7 @@ H5_mpio_gatherv_alloc_simple(void *send_buf, int send_count, MPI_Datatype send_t
/* Set the displacements into the receive buffer for the gather operation */
if (allgather || (mpi_rank == root)) {
size_t i;
- int * displacements_ptr;
+ int *displacements_ptr;
displacements_ptr = &recv_counts_disps_array[mpi_size];