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) \
do { \
opal_list_item_t *item; \
ompi_free_list_item_t*item; \
OMPI_FREE_LIST_GET(&ompi_pml_cm.cm_recv_requests, item, rc); \
recvreq = (mca_pml_cm_recv_request_t*) item; \
} while (0)
@ -147,11 +147,11 @@ do { \
/**
* Free the PML receive request
*/
#define MCA_PML_CM_RECV_REQUEST_RETURN(recvreq) \
{ \
MCA_PML_BASE_RECV_REQUEST_FINI(&(recvreq)->req_recv); \
OMPI_FREE_LIST_RETURN( &ompi_pml_cm.cm_recv_requests, \
(opal_list_item_t*)(recvreq)); \
#define MCA_PML_CM_RECV_REQUEST_RETURN(recvreq) \
{ \
MCA_PML_BASE_RECV_REQUEST_FINI(&(recvreq)->req_recv); \
OMPI_FREE_LIST_RETURN( &ompi_pml_cm.cm_recv_requests, \
(ompi_free_list_item_t*)(recvreq)); \
}

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

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