Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make the definition match the declaration in dtypes.h.
[simgrid.git] / teshsuite / smpi / mpich3-test / util / dtypes.c
index b93fc9b..a186a72 100644 (file)
@@ -139,7 +139,7 @@ static int basic_only = 0;
   free(myname); \
   counts[cnt]  = 1;  bytesize[cnt] = sizeof(_ctype) * (_count); cnt++; }
 
-/* This defines a structure of two basic members; by chosing things like
+/* This defines a structure of two basic members; by choosing things like
    (char, double), various packing and alignment tests can be made */
 #define SETUPSTRUCT2TYPE(_mpitype1,_ctype1,_mpitype2,_ctype2,_count,_tname) { \
   int i; char *myname;                                         \
@@ -350,7 +350,7 @@ int MTestDatatype2Check(void *inbuf, void *outbuf, int size_bytes)
 /*
  * This is a version of CheckData that prints error messages
  */
-static int MtestDatatype2CheckAndPrint(void *inbuf, void *outbuf, int size_bytes,
+int MTestDatatype2CheckAndPrint(void *inbuf, void *outbuf, int size_bytes,
                                 char *typename, int typenum)
 {
     int errloc, world_rank;