diff --git a/events-c/events.c b/events-c/events.c index dc61869..268d792 100644 --- a/events-c/events.c +++ b/events-c/events.c @@ -279,7 +279,7 @@ int event_post(equeue_t *q, void (*cb)(void*), void *p) { } void event_cancel(equeue_t *q, int id) { - return equeue_cancel(q, id); + equeue_cancel(q, id); } // simple callbacks