From 9ac1a6cdb38b854bd44a3873a9ca1fe3081ec5e3 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Tue, 4 Jul 2006 04:21:16 +0000 Subject: [PATCH] Remove the warnings. Now they are ompi_free_list_item not opal_list_item_t. This commit was SVN r10645. --- ompi/mca/pml/cm/pml_cm_recvreq.h | 12 ++++++------ ompi/mca/pml/cm/pml_cm_sendreq.h | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ompi/mca/pml/cm/pml_cm_recvreq.h b/ompi/mca/pml/cm/pml_cm_recvreq.h index f65691ce51..beeac64001 100644 --- a/ompi/mca/pml/cm/pml_cm_recvreq.h +++ b/ompi/mca/pml/cm/pml_cm_recvreq.h @@ -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)); \ } diff --git a/ompi/mca/pml/cm/pml_cm_sendreq.h b/ompi/mca/pml/cm/pml_cm_sendreq.h index 2c557983d8..c4e922bfc1 100644 --- a/ompi/mca/pml/cm/pml_cm_sendreq.h +++ b/ompi/mca/pml/cm/pml_cm_sendreq.h @@ -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