From 947fd0901e98f460d7020990a47e8820595a20d1 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 24 Feb 2010 10:41:11 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1673 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/events.h | 2 +- os/kernel/src/chevents.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/os/kernel/include/events.h b/os/kernel/include/events.h index c434eb7ce..e81d3ee3b 100644 --- a/os/kernel/include/events.h +++ b/os/kernel/include/events.h @@ -129,7 +129,7 @@ extern "C" { void chEvtSignalI(Thread *tp, eventmask_t mask); void chEvtBroadcast(EventSource *esp); void chEvtBroadcastI(EventSource *esp); - void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask); + void chEvtDispatch(const evhandler_t *handlers, eventmask_t mask); #if CH_OPTIMIZE_SPEED || !CH_USE_EVENTS_TIMEOUT eventmask_t chEvtWaitOne(eventmask_t mask); eventmask_t chEvtWaitAny(eventmask_t mask); diff --git a/os/kernel/src/chevents.c b/os/kernel/src/chevents.c index e3c0b07ba..bed0def68 100644 --- a/os/kernel/src/chevents.c +++ b/os/kernel/src/chevents.c @@ -184,7 +184,7 @@ void chEvtBroadcastI(EventSource *esp) { * @param[in] handlers an array of @p evhandler_t. The array must have size * equal to the number of bits in eventmask_t. */ -void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask) { +void chEvtDispatch(const evhandler_t *handlers, eventmask_t mask) { eventid_t eid; chDbgCheck(handlers != NULL, "chEvtDispatch"); -- cgit v1.2.3