1
1

Remove the warnings. Now they are ompi_free_list_item not opal_list_item_t.

This commit was SVN r10645.
Этот коммит содержится в:
George Bosilca 2006-07-04 04:21:16 +00:00
родитель 7d12f9119a
Коммит 9ac1a6cdb3
2 изменённых файлов: 13 добавлений и 13 удалений

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

@ -38,7 +38,7 @@ OBJ_CLASS_DECLARATION(mca_pml_cm_recv_request_t);
*/ */
#define MCA_PML_CM_RECV_REQUEST_ALLOC(recvreq, rc) \ #define MCA_PML_CM_RECV_REQUEST_ALLOC(recvreq, rc) \
do { \ do { \
opal_list_item_t *item; \ ompi_free_list_item_t*item; \
OMPI_FREE_LIST_GET(&ompi_pml_cm.cm_recv_requests, item, rc); \ OMPI_FREE_LIST_GET(&ompi_pml_cm.cm_recv_requests, item, rc); \
recvreq = (mca_pml_cm_recv_request_t*) item; \ recvreq = (mca_pml_cm_recv_request_t*) item; \
} while (0) } while (0)
@ -151,7 +151,7 @@ do { \
{ \ { \
MCA_PML_BASE_RECV_REQUEST_FINI(&(recvreq)->req_recv); \ MCA_PML_BASE_RECV_REQUEST_FINI(&(recvreq)->req_recv); \
OMPI_FREE_LIST_RETURN( &ompi_pml_cm.cm_recv_requests, \ OMPI_FREE_LIST_RETURN( &ompi_pml_cm.cm_recv_requests, \
(opal_list_item_t*)(recvreq)); \ (ompi_free_list_item_t*)(recvreq)); \
} }

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

@ -37,7 +37,7 @@ OBJ_CLASS_DECLARATION(mca_pml_cm_send_request_t);
{ \ { \
ompi_proc_t *proc = \ ompi_proc_t *proc = \
comm->c_pml_procs[dst]->proc_ompi; \ comm->c_pml_procs[dst]->proc_ompi; \
opal_list_item_t* item; \ ompi_free_list_item_t* item; \
\ \
if(NULL == proc) { \ if(NULL == proc) { \
rc = OMPI_ERR_OUT_OF_RESOURCE; \ rc = OMPI_ERR_OUT_OF_RESOURCE; \
@ -169,7 +169,7 @@ do { \
/* Let the base handle the reference counts */ \ /* Let the base handle the reference counts */ \
MCA_PML_BASE_SEND_REQUEST_FINI((&(sendreq)->req_send)); \ MCA_PML_BASE_SEND_REQUEST_FINI((&(sendreq)->req_send)); \
OMPI_FREE_LIST_RETURN( \ OMPI_FREE_LIST_RETURN( \
&ompi_pml_cm.cm_send_requests, (opal_list_item_t*)sendreq); \ &ompi_pml_cm.cm_send_requests, (ompi_free_list_item_t*)sendreq); \
} }
#endif #endif