Rename listLIST_ITEM_CONTAINED to listLIST_ITEM_CONTAINER.

This commit is contained in:
Richard Barry 2012-09-24 11:23:14 +00:00
parent 92f1699055
commit 18a4b00a18
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ xList * const pxConstList = ( pxList ); \
* @param pxListItem The list item being queried. * @param pxListItem The list item being queried.
* @return A pointer to the xList object that references the pxListItem * @return A pointer to the xList object that references the pxListItem
*/ */
#define listLIST_ITEM_CONTAINED( pxListItem ) ( ( pxListItem )->pvContainer ) #define listLIST_ITEM_CONTAINER( pxListItem ) ( ( pxListItem )->pvContainer )
/* /*
* This provides a crude means of knowing if a list has been initialised, as * This provides a crude means of knowing if a list has been initialised, as

View File

@ -818,7 +818,7 @@ tskTCB * pxNewTCB;
{ {
taskENTER_CRITICAL(); taskENTER_CRITICAL();
{ {
pxStateList = ( xList * ) listLIST_ITEM_CONTAINED( &( pxTCB->xGenericListItem ) ); pxStateList = ( xList * ) listLIST_ITEM_CONTAINER( &( pxTCB->xGenericListItem ) );
} }
taskEXIT_CRITICAL(); taskEXIT_CRITICAL();