From 600967d2edb4639567417e6c3a43c134202e4b2f Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 11 Oct 2018 10:56:39 -0400 Subject: [PATCH] mpi.h.in: remove C99-style comments While we require C99 to build Open MPI, we do not require C99 to build user MPI applications. As such, we shouldn't have C99-style comments (i.e., "//"-style) in mpi.h.in. Thanks to @AdamSimpson for reporting the issue. This commit simply converts a //-style comment to a /**/-style comment. No code or logic changes. Signed-off-by: Jeff Squyres (cherry picked from commit f4b3ccabf726eaec6d39cbcff809882da55ae1e5) --- ompi/include/mpi.h.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ompi/include/mpi.h.in b/ompi/include/mpi.h.in index 7c4c1cf49f..2db11d336f 100644 --- a/ompi/include/mpi.h.in +++ b/ompi/include/mpi.h.in @@ -417,10 +417,12 @@ typedef ompi_file_errhandler_fn MPI_File_errhandler_fn typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn __mpi_interface_removed__("MPI_Win_errhandler_fn was removed in MPI-3.0; use MPI_Win_errhandler_function instead"); -// NOTE: We intentionally do *not* mark the following as -// deprecated/removed because they are used below in function -// prototypes (and would therefore emit warnings, just for #including -// ). +/* + * NOTE: We intentionally do *not* mark the following as + * deprecated/removed because they are used below in function + * prototypes (and would therefore emit warnings, just for #including + * ). + */ typedef void (MPI_Handler_function)(MPI_Comm *, int *, ...); typedef int (MPI_Copy_function)(MPI_Comm, int, void *, void *, void *, int *);