From c499eccc5caa91700e033360f31604ecefff0238 Mon Sep 17 00:00:00 2001 From: Christian Pfeiffer Date: Mon, 6 May 2019 18:42:28 +0200 Subject: FindMPI: Make tests valid C89 by returning 0 --- Modules/FindMPI/libver_mpi.c | 1 + Modules/FindMPI/test_mpi.c | 1 + 2 files changed, 2 insertions(+) (limited to 'Modules/FindMPI') diff --git a/Modules/FindMPI/libver_mpi.c b/Modules/FindMPI/libver_mpi.c index 18d4a60ef7..d89328a01e 100644 --- a/Modules/FindMPI/libver_mpi.c +++ b/Modules/FindMPI/libver_mpi.c @@ -16,4 +16,5 @@ int main(int argc, char* argv[]) #else puts(mpilibver_str); #endif + return 0; } diff --git a/Modules/FindMPI/test_mpi.c b/Modules/FindMPI/test_mpi.c index 05cec89b51..7c96d54a8f 100644 --- a/Modules/FindMPI/test_mpi.c +++ b/Modules/FindMPI/test_mpi.c @@ -34,4 +34,5 @@ int main(int argc, char* argv[]) MPI_Init(&argc, &argv); MPI_Finalize(); #endif + return 0; } -- cgit v1.2.1