From: bernie Date: Mon, 25 Aug 2008 11:37:01 +0000 (+0000) Subject: idle: Use C-friendly syntax X-Git-Tag: 2.0.0~246 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=7c7aee2a95be7ee8b1c9f4b011a1274524bb664e;p=bertos.git idle: Use C-friendly syntax git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1688 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/kern/idle.c b/bertos/kern/idle.c index 2ea379c8..116328ec 100644 --- a/bertos/kern/idle.c +++ b/bertos/kern/idle.c @@ -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); }