99 * University of Stuttgart. All rights reserved.
1010 * Copyright (c) 2004-2005 The Regents of the University of California.
1111 * All rights reserved.
12- * Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
12+ * Copyright (c) 2008-2017 Cisco Systems, Inc. All rights reserved
1313 * $COPYRIGHT$
1414 *
1515 * Additional copyrights may follow
@@ -71,7 +71,7 @@ int mca_coll_sync_gather(const void *sbuf, int scount,
7171
7272int mca_coll_sync_gatherv (const void * sbuf , int scount ,
7373 struct ompi_datatype_t * sdtype ,
74- void * rbuf , int * rcounts , int * disps ,
74+ void * rbuf , const int * rcounts , const int * disps ,
7575 struct ompi_datatype_t * rdtype ,
7676 int root ,
7777 struct ompi_communicator_t * comm ,
@@ -85,7 +85,7 @@ int mca_coll_sync_reduce(const void *sbuf, void *rbuf, int count,
8585 mca_coll_base_module_t * module );
8686
8787int mca_coll_sync_reduce_scatter (const void * sbuf , void * rbuf ,
88- int * rcounts ,
88+ const int * rcounts ,
8989 struct ompi_datatype_t * dtype ,
9090 struct ompi_op_t * op ,
9191 struct ompi_communicator_t * comm ,
@@ -105,8 +105,8 @@ int mca_coll_sync_scatter(const void *sbuf, int scount,
105105 struct ompi_communicator_t * comm ,
106106 mca_coll_base_module_t * module );
107107
108- int mca_coll_sync_scatterv (const void * sbuf , int * scounts , int * disps ,
109- struct ompi_datatype_t * sdtype ,
108+ int mca_coll_sync_scatterv (const void * sbuf , const int * scounts ,
109+ const int * disps , struct ompi_datatype_t * sdtype ,
110110 void * rbuf , int rcount ,
111111 struct ompi_datatype_t * rdtype ,
112112 int root ,
0 commit comments