From 0ddbd899ed1c089dba7bac4c925ae1451120ea63 Mon Sep 17 00:00:00 2001 Message-Id: <0ddbd899ed1c089dba7bac4c925ae1451120ea63.1714053565.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 24 May 2008 17:17:03 +0100 Subject: [PATCH] Build fix for Linux Organization: Straylight/Edgeware From: Richard Kettlewell --- lib/t-event.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/t-event.c b/lib/t-event.c index 9172833..07f2c25 100644 --- a/lib/t-event.c +++ b/lib/t-event.c @@ -22,12 +22,10 @@ #include -static ev_source *ev; - static int run1, run2, run3; static ev_timeout_handle t1, t2, t3; -static int callback1(ev_source attribute((unused)) *ev, +static int callback1(ev_source *ev, const struct timeval attribute((unused)) *now, void attribute((unused)) *u) { run1 = 1; @@ -51,6 +49,7 @@ static int callback3(ev_source attribute((unused)) *ev, static void test_event(void) { struct timeval w; + ev_source *ev; ev = ev_new(); w.tv_sec = time(0) + 2; -- [mdw]