Skip to content

Commit 0ade49c

Browse files
ggouaillardetgpaulsen
authored andcommitted
mpi/c: add back (some more) deprecated subroutines
- MPI_NULL_DELETE_FN - MPI_NULL_COPY_FN - MPI_DUP_FN Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit 5a96830)
1 parent 5e4a6db commit 0ade49c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ompi/mpi/c/attr_fn.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
* University of Stuttgart. All rights reserved.
1010
* Copyright (c) 2004-2005 The Regents of the University of California.
1111
* All rights reserved.
12+
* Copyright (c) 2018 Research Organization for Information Science
13+
* and Technology (RIST). All rights reserved.
1214
* $COPYRIGHT$
1315
*
1416
* Additional copyrights may follow
@@ -131,11 +133,6 @@ int OMPI_C_MPI_COMM_DUP_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
131133
return MPI_SUCCESS;
132134
}
133135

134-
#if !defined(OMPI_ENABLE_MPI1_COMPAT)
135-
136-
#error "Need to delete the code below now that the removed functions are no longer shipping"
137-
138-
#elif OMPI_ENABLE_MPI1_COMPAT
139136
int OMPI_C_MPI_NULL_DELETE_FN( MPI_Comm comm, int comm_keyval,
140137
void* attribute_val_out,
141138
void* extra_state )
@@ -159,4 +156,3 @@ int OMPI_C_MPI_DUP_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
159156
*(void**)attribute_val_out = attribute_val_in;
160157
return MPI_SUCCESS;
161158
}
162-
#endif

0 commit comments

Comments
 (0)