Skip to content

Commit 9dc4bc5

Browse files
authored
Merge pull request #10831 from jsquyres/pr/parrived-type-fix
MPI_Parrived: fix type of C binding param
2 parents c95a01f + c237fb8 commit 9dc4bc5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ompi/include/mpi.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,7 +1855,7 @@ OMPI_DECLSPEC int MPI_Pack(const void *inbuf, int incount, MPI_Datatype datatyp
18551855
void *outbuf, int outsize, int *position, MPI_Comm comm);
18561856
OMPI_DECLSPEC int MPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm,
18571857
int *size);
1858-
OMPI_DECLSPEC int MPI_Parrived(MPI_Request request, MPI_Count partition, int *flag);
1858+
OMPI_DECLSPEC int MPI_Parrived(MPI_Request request, int partition, int *flag);
18591859
OMPI_DECLSPEC int MPI_Pcontrol(const int level, ...);
18601860
OMPI_DECLSPEC int MPI_Pready(int partitions, MPI_Request request);
18611861
OMPI_DECLSPEC int MPI_Pready_range(int partition_low, int partition_high,
@@ -2557,7 +2557,7 @@ OMPI_DECLSPEC int PMPI_Pready(int partitions, MPI_Request request);
25572557
OMPI_DECLSPEC int PMPI_Pready_range(int partition_low, int partition_high,
25582558
MPI_Request request);
25592559
OMPI_DECLSPEC int PMPI_Pready_list(int length, int partition_list[], MPI_Request request);
2560-
OMPI_DECLSPEC int PMPI_Parrived(MPI_Request request, MPI_Count partition, int *flag);
2560+
OMPI_DECLSPEC int PMPI_Parrived(MPI_Request request, int partition, int *flag);
25612561
OMPI_DECLSPEC int PMPI_Is_thread_main(int *flag);
25622562
OMPI_DECLSPEC int PMPI_Lookup_name(const char *service_name, MPI_Info info, char *port_name);
25632563
OMPI_DECLSPEC MPI_Fint PMPI_Message_c2f(MPI_Message message);

ompi/mpi/c/parrived.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* University of Stuttgart. All rights reserved.
1111
* Copyright (c) 2004-2005 The Regents of the University of California.
1212
* All rights reserved.
13-
* Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
13+
* Copyright (c) 2006-2022 Cisco Systems, Inc. All rights reserved
1414
* Copyright (c) 2013-2015 Los Alamos National Security, LLC. All rights
1515
* reserved.
1616
* Copyright (c) 2015 Research Organization for Information Science
@@ -43,7 +43,7 @@
4343
static const char FUNC_NAME[] = "MPI_Parrived";
4444

4545

46-
int MPI_Parrived(MPI_Request request, MPI_Count partition, int *flag)
46+
int MPI_Parrived(MPI_Request request, int partition, int *flag)
4747
{
4848
int rc;
4949

0 commit comments

Comments
 (0)