X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b87d36484efbcd36199f60c5ce373437ea14c4f..6ae04e68aa7838418bdf7cafdba4a1f5700db814:/teshsuite/smpi/mpich3-test/util/dtypes.c diff --git a/teshsuite/smpi/mpich3-test/util/dtypes.c b/teshsuite/smpi/mpich3-test/util/dtypes.c index b93fc9b713..a186a728ac 100644 --- a/teshsuite/smpi/mpich3-test/util/dtypes.c +++ b/teshsuite/smpi/mpich3-test/util/dtypes.c @@ -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;