Skip to content

Commit cd199d0

Browse files
Merge pull request #6122 from ggouaillardet/topic/MPI_XYZ_FN
mpi/c: add back (some more) deprecated subroutines
2 parents 7be8a07 + 5a96830 commit cd199d0

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)