@@ -385,11 +385,11 @@ typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype,
385
385
typedef void (MPI_Comm_errhandler_function )(MPI_Comm * , int * , ...);
386
386
387
387
/* 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
389
389
allows us to maintain a stable ABI within OMPI, at least for
390
390
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 ;
393
393
typedef void (MPI_Win_errhandler_function )(MPI_Win * , int * , ...);
394
394
typedef void (MPI_User_function )(void * , void * , int * , MPI_Datatype * );
395
395
typedef int (MPI_Comm_copy_attr_function )(MPI_Comm , int , void * ,
@@ -412,7 +412,7 @@ typedef int (MPI_Grequest_cancel_function)(void *, int);
412
412
*/
413
413
typedef MPI_Comm_errhandler_function MPI_Comm_errhandler_fn
414
414
__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
416
416
__mpi_interface_removed__ ("MPI_File_errhandler_fn was removed in MPI-3.0; use MPI_File_errhandler_function instead" );
417
417
typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn
418
418
__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
1088
1088
#define MPI_LONG_INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_long_int)
1089
1089
#define MPI_SHORT_INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_short_int)
1090
1090
#define MPI_2INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_2int)
1091
+ #if !OMPI_OMIT_MPI1_COMPAT_DECLS
1092
+ /*
1093
+ * Removed datatypes
1094
+ */
1091
1095
#define MPI_UB OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_ub)
1092
1096
#define MPI_LB OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_lb)
1097
+ #endif
1093
1098
#define MPI_WCHAR OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_wchar)
1094
1099
#if OPAL_HAVE_LONG_LONG
1095
1100
#define MPI_LONG_LONG_INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_long_long_int)
0 commit comments