From 9db754967961b4e27ff2c22390deecd98e61a942 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 24 Sep 2012 11:23:14 +0000 Subject: [PATCH] Rename listLIST_ITEM_CONTAINED to listLIST_ITEM_CONTAINER. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1783 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- FreeRTOS/Source/include/list.h | 2 +- FreeRTOS/Source/tasks.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FreeRTOS/Source/include/list.h b/FreeRTOS/Source/include/list.h index 223b4f533..20ecd867c 100644 --- a/FreeRTOS/Source/include/list.h +++ b/FreeRTOS/Source/include/list.h @@ -259,7 +259,7 @@ xList * const pxConstList = ( pxList ); \ * @param pxListItem The list item being queried. * @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 diff --git a/FreeRTOS/Source/tasks.c b/FreeRTOS/Source/tasks.c index 9e0649a21..99a48c0c5 100644 --- a/FreeRTOS/Source/tasks.c +++ b/FreeRTOS/Source/tasks.c @@ -818,7 +818,7 @@ tskTCB * pxNewTCB; { taskENTER_CRITICAL(); { - pxStateList = ( xList * ) listLIST_ITEM_CONTAINED( &( pxTCB->xGenericListItem ) ); + pxStateList = ( xList * ) listLIST_ITEM_CONTAINER( &( pxTCB->xGenericListItem ) ); } taskEXIT_CRITICAL(); -- 2.39.5