[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1.1-116-g2c6e27c

Service Account noreply at mpich.org
Fri Jul 18 16:11:52 CDT 2014

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  2c6e27c32bf76302348aecfedf82856c04286003 (commit)
      from  0c1326c3ea6fee05ff76882905ae2c8e8b0a0047 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 2c6e27c32bf76302348aecfedf82856c04286003
Author: Junchao Zhang <jczhang at mcs.anl.gov>
Date:   Fri Jul 18 14:06:09 2014 -0500

    Added the missing const in cvar/pvar write
    Signed-off-by: Huiwei Lu <huiweilu at mcs.anl.gov>

diff --git a/src/mpi_t/cvar_write.c b/src/mpi_t/cvar_write.c
index fb57a47..8573332 100644
--- a/src/mpi_t/cvar_write.c
+++ b/src/mpi_t/cvar_write.c
@@ -14,7 +14,7 @@
 #elif defined(HAVE_PRAGMA_CRI_DUP)
 #pragma _CRI duplicate MPI_T_cvar_write as PMPI_T_cvar_write
 #elif defined(HAVE_WEAK_ATTRIBUTE)
-int MPI_T_cvar_write(MPI_T_cvar_handle handle, void *buf) __attribute__((weak,alias("PMPI_T_cvar_write")));
+int MPI_T_cvar_write(MPI_T_cvar_handle handle, const void *buf) __attribute__((weak,alias("PMPI_T_cvar_write")));
 /* -- End Profiling Symbol Block */
diff --git a/src/mpi_t/pvar_write.c b/src/mpi_t/pvar_write.c
index ca3997b..76a7a16 100644
--- a/src/mpi_t/pvar_write.c
+++ b/src/mpi_t/pvar_write.c
@@ -14,7 +14,7 @@
 #elif defined(HAVE_PRAGMA_CRI_DUP)
 #pragma _CRI duplicate MPI_T_pvar_write as PMPI_T_pvar_write
 #elif defined(HAVE_WEAK_ATTRIBUTE)
-int MPI_T_pvar_write(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf) __attribute__((weak,alias("PMPI_T_pvar_write")));
+int MPI_T_pvar_write(MPI_T_pvar_session session, MPI_T_pvar_handle handle, const void *buf) __attribute__((weak,alias("PMPI_T_pvar_write")));
 /* -- End Profiling Symbol Block */


Summary of changes:
 src/mpi_t/cvar_write.c |    2 +-
 src/mpi_t/pvar_write.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

MPICH primary repository

More information about the commits mailing list