summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2018-05-16 18:03:30 +0200
committerchrome-bot <chrome-bot@chromium.org>2018-05-18 10:05:14 -0700
commit013494ad1830ce00070e0fbd32c2ea635afdc1bb (patch)
tree231ae609220798de706a3d555299009ad46daa06
parent880bb8b21291f14a368038287b892ad3224bbae6 (diff)
downloadchrome-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.c2
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;