idle: Use C-friendly syntax
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 25 Aug 2008 11:37:01 +0000 (11:37 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 25 Aug 2008 11:37:01 +0000 (11:37 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1688 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/kern/idle.c

index 2ea379c8c8c7bb0358b345339c23df4ae26ec210..116328ecf7fd54452e9b6c4a2a03ee63f425de34 100644 (file)
@@ -66,6 +66,6 @@ static NORETURN void idle(void)
 
 void idle_init(void)
 {
-       Process *idle_proc = proc_new(idle, NULL, sizeof(idle_stack), idle_stack);
+       struct Process *idle_proc = proc_new(idle, NULL, sizeof(idle_stack), idle_stack);
        proc_setPri(idle_proc, (int)~0);
 }