@@ -92,7 +92,7 @@ int ompi_cxx_attr_create_keyval_type (MPI_Type_copy_attr_function *copy_fn,
9292 return ompi_attr_create_keyval (TYPE_ATTR , copy_fn_u , delete_fn_u , keyval , extra_state , 0 , NULL );
9393}
9494
95- MPI_Errhandler ompi_cxx_errhandler_create_comm (void * fn )
95+ MPI_Errhandler ompi_cxx_errhandler_create_comm (ompi_cxx_dummy_fn_t * fn )
9696{
9797 ompi_errhandler_t * errhandler ;
9898 errhandler = ompi_errhandler_create (OMPI_ERRHANDLER_TYPE_COMM ,
@@ -103,7 +103,7 @@ MPI_Errhandler ompi_cxx_errhandler_create_comm (void *fn)
103103 return errhandler ;
104104}
105105
106- MPI_Errhandler ompi_cxx_errhandler_create_win (void * fn )
106+ MPI_Errhandler ompi_cxx_errhandler_create_win (ompi_cxx_dummy_fn_t * fn )
107107{
108108 ompi_errhandler_t * errhandler ;
109109 errhandler = ompi_errhandler_create (OMPI_ERRHANDLER_TYPE_WIN ,
@@ -115,7 +115,7 @@ MPI_Errhandler ompi_cxx_errhandler_create_win (void *fn)
115115}
116116
117117#if OMPI_PROVIDE_MPI_FILE_INTERFACE
118- MPI_Errhandler ompi_cxx_errhandler_create_file (void * fn )
118+ MPI_Errhandler ompi_cxx_errhandler_create_file (ompi_cxx_dummy_fn_t * fn )
119119{
120120 ompi_errhandler_t * errhandler ;
121121 errhandler = ompi_errhandler_create (OMPI_ERRHANDLER_TYPE_FILE ,
@@ -147,12 +147,6 @@ ompi_cxx_intercept_file_extra_state_t
147147 return & intercept -> state ;
148148}
149149
150- void ompi_cxx_errhandler_set_dispatch_fn (ompi_errhandler_t * errhandler ,
151- ompi_errhandler_cxx_dispatch_fn_t * dispatch_fn )
152- {
153- errhandler -> eh_cxx_dispatch_fn = dispatch_fn ;
154- }
155-
156150void ompi_cxx_errhandler_set_callbacks (struct ompi_errhandler_t * errhandler , MPI_Comm_errhandler_function * eh_comm_fn ,
157151 ompi_file_errhandler_fn * eh_file_fn , MPI_Win_errhandler_function * eh_win_fn )
158152{
0 commit comments