From 013494ad1830ce00070e0fbd32c2ea635afdc1bb Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 16 May 2018 18:03:30 +0200 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/1062026 Commit-Ready: Patrick Georgi Tested-by: Patrick Georgi Reviewed-by: Stefan Reinauer --- chip/npcx/cec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;