diff options
author | Patrick Georgi <pgeorgi@google.com> | 2018-05-16 18:03:30 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-18 10:05:14 -0700 |
commit | 013494ad1830ce00070e0fbd32c2ea635afdc1bb (patch) | |
tree | 231ae609220798de706a3d555299009ad46daa06 | |
parent | 880bb8b21291f14a368038287b892ad3224bbae6 (diff) | |
download | chrome-ec-013494ad1830ce00070e0fbd32c2ea635afdc1bb.tar.gz |
chip/npcx: ensure proper type of cec_task
gcc 8.1 in lto mode checks that the prototypes match.
Change-Id: Id7eb5bd724e1084058a5c959e909a797659051b8
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1062026
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
-rw-r--r-- | chip/npcx/cec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/cec.c b/chip/npcx/cec.c index 540fa3c482..df17da0ac5 100644 --- a/chip/npcx/cec.c +++ b/chip/npcx/cec.c @@ -1146,7 +1146,7 @@ static void cec_init(void) } DECLARE_HOOK(HOOK_INIT, cec_init, HOOK_PRIO_LAST); -void cec_task(void) +void cec_task(void *unused) { int rv; uint32_t events; |