1
1

The Sun Studio 12 compilers need to have inline specified as

`static` in cases where a function is not part of a separate
compilation unit (such as `append_recv_req_to_queue`).

This commit was SVN r17069.
Этот коммит содержится в:
Ethan Mallove 2008-01-08 18:45:51 +00:00
родитель 158dda5458
Коммит f32dcb1636

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

@ -716,11 +716,11 @@ int mca_pml_ob1_recv_request_schedule_once(
((MCA_PML_REQUEST_IPROBE == (R)->req_recv.req_base.req_type) || \
(MCA_PML_REQUEST_PROBE == (R)->req_recv.req_base.req_type))
inline void append_recv_req_to_queue(opal_list_t*, mca_pml_ob1_recv_request_t*);
static inline void append_recv_req_to_queue(opal_list_t*, mca_pml_ob1_recv_request_t*);
mca_pml_ob1_recv_frag_t *recv_req_match_specific_proc(
const mca_pml_ob1_recv_request_t*, mca_pml_ob1_comm_proc_t*);
inline void append_recv_req_to_queue(opal_list_t *queue,
static inline void append_recv_req_to_queue(opal_list_t *queue,
mca_pml_ob1_recv_request_t *req)
{
if(OPAL_UNLIKELY(req->req_recv.req_base.req_type == MCA_PML_REQUEST_IPROBE))