Add a missing "const" to MPI_Unpack (addendum to r29266).
Refs trac:3785. This commit was SVN r29278. The following SVN revision numbers were found above: r29266 --> open-mpi/ompi@0b8fc13299 The following Trac tickets were found above: Ticket 3785 --> https://svn.open-mpi.org/trac/ompi/ticket/3785
Этот коммит содержится в:
родитель
f60365a91e
Коммит
114022146a
@ -1747,7 +1747,7 @@ OMPI_DECLSPEC int MPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub)
|
||||
__mpi_interface_deprecated__("MPI_Type_ub is deprecated, use MPI_Type_get_extent in MPI-2.0");
|
||||
OMPI_DECLSPEC int MPI_Type_vector(int count, int blocklength, int stride,
|
||||
MPI_Datatype oldtype, MPI_Datatype *newtype);
|
||||
OMPI_DECLSPEC int MPI_Unpack(void *inbuf, int insize, int *position,
|
||||
OMPI_DECLSPEC int MPI_Unpack(const void *inbuf, int insize, int *position,
|
||||
void *outbuf, int outcount, MPI_Datatype datatype,
|
||||
MPI_Comm comm);
|
||||
OMPI_DECLSPEC int MPI_Unpublish_name(const char *service_name, MPI_Info info, const char *port_name);
|
||||
@ -2396,7 +2396,7 @@ OMPI_DECLSPEC int PMPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub)
|
||||
__mpi_interface_deprecated__("MPI_Type_ub is deprecated, use MPI_Type_get_extent in MPI-2.0");
|
||||
OMPI_DECLSPEC int PMPI_Type_vector(int count, int blocklength, int stride,
|
||||
MPI_Datatype oldtype, MPI_Datatype *newtype);
|
||||
OMPI_DECLSPEC int PMPI_Unpack(void *inbuf, int insize, int *position,
|
||||
OMPI_DECLSPEC int PMPI_Unpack(const void *inbuf, int insize, int *position,
|
||||
void *outbuf, int outcount, MPI_Datatype datatype,
|
||||
MPI_Comm comm);
|
||||
OMPI_DECLSPEC int PMPI_Unpublish_name(const char *service_name, MPI_Info info,
|
||||
|
@ -9,7 +9,7 @@
|
||||
* University of Stuttgart. All rights reserved.
|
||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2006-2013 Cisco Systems, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -38,7 +38,7 @@
|
||||
static const char FUNC_NAME[] = "MPI_Unpack";
|
||||
|
||||
|
||||
int MPI_Unpack(void *inbuf, int insize, int *position,
|
||||
int MPI_Unpack(const void *inbuf, int insize, int *position,
|
||||
void *outbuf, int outcount, MPI_Datatype datatype,
|
||||
MPI_Comm comm)
|
||||
{
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user