@@ -385,11 +385,11 @@ typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype,
385385typedef void (MPI_Comm_errhandler_function )(MPI_Comm * , int * , ...);
386386
387387 /* This is a little hackish, but errhandler.h needs space for a
388- MPI_File_errhandler_fn . While it could just be removed, this
388+ MPI_File_errhandler_function . While it could just be removed, this
389389 allows us to maintain a stable ABI within OMPI, at least for
390390 apps that don't use MPI I/O. */
391- typedef void (ompi_file_errhandler_fn )(MPI_File * , int * , ...);
392- typedef ompi_file_errhandler_fn MPI_File_errhandler_function ;
391+ typedef void (ompi_file_errhandler_function )(MPI_File * , int * , ...);
392+ typedef ompi_file_errhandler_function MPI_File_errhandler_function ;
393393typedef void (MPI_Win_errhandler_function )(MPI_Win * , int * , ...);
394394typedef void (MPI_User_function )(void * , void * , int * , MPI_Datatype * );
395395typedef int (MPI_Comm_copy_attr_function )(MPI_Comm , int , void * ,
@@ -412,7 +412,7 @@ typedef int (MPI_Grequest_cancel_function)(void *, int);
412412 */
413413typedef MPI_Comm_errhandler_function MPI_Comm_errhandler_fn
414414 __mpi_interface_removed__ ("MPI_Comm_errhandler_fn was removed in MPI-3.0; use MPI_Comm_errhandler_function instead" );
415- typedef ompi_file_errhandler_fn MPI_File_errhandler_fn
415+ typedef ompi_file_errhandler_function MPI_File_errhandler_fn
416416 __mpi_interface_removed__ ("MPI_File_errhandler_fn was removed in MPI-3.0; use MPI_File_errhandler_function instead" );
417417typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn
418418 __mpi_interface_removed__ ("MPI_Win_errhandler_fn was removed in MPI-3.0; use MPI_Win_errhandler_function instead" );
@@ -1088,8 +1088,13 @@ OMPI_DECLSPEC extern struct ompi_predefined_datatype_t ompi_mpi_ub __mpi_interfa
10881088#define MPI_LONG_INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_long_int)
10891089#define MPI_SHORT_INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_short_int)
10901090#define MPI_2INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_2int)
1091+ #if !OMPI_OMIT_MPI1_COMPAT_DECLS
1092+ /*
1093+ * Removed datatypes
1094+ */
10911095#define MPI_UB OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_ub)
10921096#define MPI_LB OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_lb)
1097+ #endif
10931098#define MPI_WCHAR OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_wchar)
10941099#if OPAL_HAVE_LONG_LONG
10951100#define MPI_LONG_LONG_INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_long_long_int)
0 commit comments