Fix const position.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 27 Aug 2008 13:34:11 +0000 (13:34 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 27 Aug 2008 13:34:11 +0000 (13:34 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1715 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/kern/coop.c

index d0105972c86bfb4aeb21addd2a71bb78fec8fb00..16cb5811baf1ffae089dd421393380ff0ab3d005 100644 (file)
@@ -101,7 +101,7 @@ static void proc_schedule(void)
 void proc_switch(void)
 {
        /* Remember old process to save its context later */
-       const Process *old_process = CurrentProcess;
+       Process * const old_process = CurrentProcess;
 
        proc_schedule();