mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
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:
committed by
chrome-bot
parent
de4abe07f7
commit
b5c56aba6f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user