core: cortex-m0: Fix task routine prototypes

The task routines are void func(void), not int func(void *).

BUG=none
BRANCH=none
TEST=compile tested on chell
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>

Change-Id: I599ff2433d821bfb446fbb4f84a803c6feffa0b3
Reviewed-on: https://chromium-review.googlesource.com/343213
Commit-Ready: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
Stefan Reinauer
2016-05-07 01:37:40 -07:00
committed by chrome-bot
parent de4abe07f7
commit b5c56aba6f

View File

@@ -32,7 +32,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