]> git.sur5r.net Git - freertos/commitdiff
Rename listLIST_ITEM_CONTAINED to listLIST_ITEM_CONTAINER.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 24 Sep 2012 11:23:14 +0000 (11:23 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 24 Sep 2012 11:23:14 +0000 (11:23 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1783 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Source/include/list.h
FreeRTOS/Source/tasks.c

index 223b4f533515f5db6d63f7f53804c1fa87ee64f5..20ecd867c2974aa751e4f158e8420186be4444e2 100644 (file)
@@ -259,7 +259,7 @@ xList * const pxConstList = ( pxList );                                                                                                     \
  * @param pxListItem The list item being queried.\r
  * @return A pointer to the xList object that references the pxListItem\r
  */\r
-#define listLIST_ITEM_CONTAINED( pxListItem ) ( ( pxListItem )->pvContainer )\r
+#define listLIST_ITEM_CONTAINER( pxListItem ) ( ( pxListItem )->pvContainer )\r
 \r
 /*\r
  * This provides a crude means of knowing if a list has been initialised, as\r
index 9e0649a21900246335212d44954a466b968fd959..99a48c0c504e1ee17087982450c05026fffe3d7f 100644 (file)
@@ -818,7 +818,7 @@ tskTCB * pxNewTCB;
                {\r
                        taskENTER_CRITICAL();\r
                        {\r
-                               pxStateList = ( xList * ) listLIST_ITEM_CONTAINED( &( pxTCB->xGenericListItem ) );\r
+                               pxStateList = ( xList * ) listLIST_ITEM_CONTAINER( &( pxTCB->xGenericListItem ) );\r
                        }\r
                        taskEXIT_CRITICAL();\r
 \r