#include "mpi.h"
#include <stdio.h>
#include "mpitest.h"
-int run_tests(MPI_Comm comm);
-int run_tests(MPI_Comm comm)
+
+static int run_tests(MPI_Comm comm)
{
int rank, size, wrank, wsize, dest, a, b, errs = 0;
MPI_Status status;
MPI_Barrier(comm);
/* Can we communicate with this new communicator? */
+ dest = MPI_PROC_NULL;
if (rank == 0) {
dest = size - 1;
a = rank;