Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make all predefined MPI_Datatype const
[simgrid.git] / src / smpi / smpi_mpi_dt_private.h
index f0e612f..79822ef 100644 (file)
@@ -32,7 +32,7 @@
  */
 #define DT_FLAG_BASIC         (DT_FLAG_PREDEFINED | DT_FLAG_CONTIGUOUS | DT_FLAG_NO_GAPS | DT_FLAG_DATA | DT_FLAG_COMMITED)
 
-extern MPI_Datatype MPI_PTR;
+extern const MPI_Datatype MPI_PTR;
 
 
 //*****************************************************************************************