From 6f8f28f40ff668a8438fb857b8b4b2130ab5f29b Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Sun, 3 Dec 2006 14:52:17 +0000 Subject: [PATCH] - Get rid of inline definition, otherwise static-compilation fails. This commit was SVN r12735. --- ompi/mca/pml/dr/pml_dr_recvreq.c | 2 +- ompi/mca/pml/dr/pml_dr_sendreq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mca/pml/dr/pml_dr_recvreq.c b/ompi/mca/pml/dr/pml_dr_recvreq.c index 5bd385b681..c52561468e 100644 --- a/ompi/mca/pml/dr/pml_dr_recvreq.c +++ b/ompi/mca/pml/dr/pml_dr_recvreq.c @@ -69,7 +69,7 @@ static mca_pml_dr_recv_frag_t* mca_pml_dr_recv_request_match_specific_proc( mca_pml_dr_recv_request_t* request, mca_pml_dr_comm_proc_t* proc); -static inline int mca_pml_dr_recv_request_free(struct ompi_request_t** request) +static int mca_pml_dr_recv_request_free(struct ompi_request_t** request) { mca_pml_dr_recv_request_t* recvreq = *(mca_pml_dr_recv_request_t**)request; assert( false == recvreq->req_recv.req_base.req_free_called ); diff --git a/ompi/mca/pml/dr/pml_dr_sendreq.c b/ompi/mca/pml/dr/pml_dr_sendreq.c index 273c907bd6..9b5c65aa4b 100644 --- a/ompi/mca/pml/dr/pml_dr_sendreq.c +++ b/ompi/mca/pml/dr/pml_dr_sendreq.c @@ -40,7 +40,7 @@ * for others p2p communications. Therefore, in the case of the DR PML it should * be added to the free request list. */ -static inline int mca_pml_dr_send_request_free(struct ompi_request_t** request) +static int mca_pml_dr_send_request_free(struct ompi_request_t** request) { mca_pml_dr_send_request_t* sendreq = *(mca_pml_dr_send_request_t**)request;