projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix const position.
[bertos.git]
/
bertos
/
kern
/
coop.c
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();