1
1

- Get rid of warning on function declarations:

First "static inline", then the type

This commit was SVN r20657.
Этот коммит содержится в:
Rainer Keller 2009-02-28 14:15:34 +00:00
родитель 2002c576fe
Коммит 02416033ad
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -138,7 +138,7 @@ do { \
* *
* @param recvreq (IN) Receive request. * @param recvreq (IN) Receive request.
*/ */
void static inline static inline void
recv_request_pml_complete(mca_pml_ob1_recv_request_t *recvreq) recv_request_pml_complete(mca_pml_ob1_recv_request_t *recvreq)
{ {
size_t i; size_t i;
@ -177,7 +177,7 @@ recv_request_pml_complete(mca_pml_ob1_recv_request_t *recvreq)
OPAL_THREAD_UNLOCK(&ompi_request_lock); OPAL_THREAD_UNLOCK(&ompi_request_lock);
} }
bool static inline static inline bool
recv_request_pml_complete_check(mca_pml_ob1_recv_request_t *recvreq) recv_request_pml_complete_check(mca_pml_ob1_recv_request_t *recvreq)
{ {
opal_atomic_rmb(); opal_atomic_rmb();

Просмотреть файл

@ -217,7 +217,7 @@ do {
* should only be an internal call to the PML. * 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) send_request_pml_complete(mca_pml_ob1_send_request_t *sendreq)
{ {
assert(false == sendreq->req_send.req_base.req_pml_complete); 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 */ /* 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) send_request_pml_complete_check(mca_pml_ob1_send_request_t *sendreq)
{ {
opal_atomic_rmb(); opal_atomic_rmb();