projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2670d52
)
Fix const position.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 27 Aug 2008 13:34:11 +0000
(13:34 +0000)
committer
batt
<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
patch
|
blob
|
history
diff --git
a/bertos/kern/coop.c
b/bertos/kern/coop.c
index d0105972c86bfb4aeb21addd2a71bb78fec8fb00..16cb5811baf1ffae089dd421393380ff0ab3d005 100644
(file)
--- 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();