From: batt Date: Wed, 27 Aug 2008 13:34:11 +0000 (+0000) Subject: Fix const position. X-Git-Tag: 2.0.0~219 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=32bc4a6124baca3d51f2b2bd908f080f11a8dc3d;p=bertos.git Fix const position. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1715 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/kern/coop.c b/bertos/kern/coop.c index d0105972..16cb5811 100644 --- a/bertos/kern/coop.c +++ b/bertos/kern/coop.c @@ -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();