From 32bc4a6124baca3d51f2b2bd908f080f11a8dc3d Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 27 Aug 2008 13:34:11 +0000 Subject: [PATCH] Fix const position. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1715 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/kern/coop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.25.1