From 9939855231350875737f9b05e208454451e3bb4a Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 4 Aug 2017 16:20:52 -0700 Subject: Fix inconsistent task function declarations Tasks are defined inconsistently across the code base. Signed-off-by: Stefan Reinauer BRANCH=none TEST=make buildall -j, also verify kevin boots to OS BUG=none Change-Id: I19a076395a9a8ee1e457e67a89d80d2f70277c97 Reviewed-on: https://chromium-review.googlesource.com/602739 Commit-Ready: Shawn N Tested-by: Shawn N Reviewed-by: Randall Spangler --- core/nds32/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/nds32') diff --git a/core/nds32/task.c b/core/nds32/task.c index 8fab6d1ef8..54b7b5ed77 100644 --- a/core/nds32/task.c +++ b/core/nds32/task.c @@ -35,7 +35,7 @@ typedef union { #define STACK_UNUSED_VALUE 0xdeadd00d /* declare task routine prototypes */ -#define TASK(n, r, d, s) int r(void *); +#define TASK(n, r, d, s) void r(void *); void __idle(void); CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST -- cgit v1.2.1