From de1094e980fb546b9ca23f31bf64e491e5da95f9 Mon Sep 17 00:00:00 2001
From: Richard Barry <ribarry@amazon.com>
Date: Sat, 28 Jul 2007 18:35:03 +0000
Subject: [PATCH] Removed const from xTaskResumeFromISR() and xTaskResume()
 local variables as it upsets the call to the list function.

---
 Source/tasks.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Source/tasks.c b/Source/tasks.c
index 4e1261747f..cab6a49e37 100644
--- a/Source/tasks.c
+++ b/Source/tasks.c
@@ -994,7 +994,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat
 
 	void vTaskResume( xTaskHandle pxTaskToResume )
 	{
-	const tskTCB *pxTCB;
+	tskTCB *pxTCB;
 
 		/* Remove the task from whichever list it is currently in, and place
 		it in the ready list. */
@@ -1035,7 +1035,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat
 	portBASE_TYPE xTaskResumeFromISR( xTaskHandle pxTaskToResume )
 	{
 	portBASE_TYPE xYieldRequired = pdFALSE;
-	const tskTCB *pxTCB;
+	tskTCB *pxTCB;
 
 		pxTCB = ( tskTCB * ) pxTaskToResume;