diff --git a/ompi/mca/pml/ob1/pml_ob1_recvreq.h b/ompi/mca/pml/ob1/pml_ob1_recvreq.h index d7546584e9..e64e60f0fd 100644 --- a/ompi/mca/pml/ob1/pml_ob1_recvreq.h +++ b/ompi/mca/pml/ob1/pml_ob1_recvreq.h @@ -138,7 +138,7 @@ do { \ * * @param recvreq (IN) Receive request. */ -void static inline +static inline void recv_request_pml_complete(mca_pml_ob1_recv_request_t *recvreq) { size_t i; @@ -177,7 +177,7 @@ recv_request_pml_complete(mca_pml_ob1_recv_request_t *recvreq) OPAL_THREAD_UNLOCK(&ompi_request_lock); } -bool static inline +static inline bool recv_request_pml_complete_check(mca_pml_ob1_recv_request_t *recvreq) { opal_atomic_rmb(); diff --git a/ompi/mca/pml/ob1/pml_ob1_sendreq.h b/ompi/mca/pml/ob1/pml_ob1_sendreq.h index 5f32e743d9..8678fc01b4 100644 --- a/ompi/mca/pml/ob1/pml_ob1_sendreq.h +++ b/ompi/mca/pml/ob1/pml_ob1_sendreq.h @@ -217,7 +217,7 @@ do { * should only be an internal call to the PML. * */ -void static inline +static inline void send_request_pml_complete(mca_pml_ob1_send_request_t *sendreq) { assert(false == sendreq->req_send.req_base.req_pml_complete); @@ -249,7 +249,7 @@ send_request_pml_complete(mca_pml_ob1_send_request_t *sendreq) } /* returns true if request was completed on PML level */ -bool static inline +static inline bool send_request_pml_complete_check(mca_pml_ob1_send_request_t *sendreq) { opal_atomic_rmb();