aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demo-json-rpc-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo-json-rpc-server.c b/demo-json-rpc-server.c
index ab86c59..2e0b104 100644
--- a/demo-json-rpc-server.c
+++ b/demo-json-rpc-server.c
@@ -1167,7 +1167,7 @@ struct server_context
static void initiate_quit (struct server_context *self);
static void try_finish_quit (struct server_context *self);
-static void on_quit_timeout (EV_P_ ev_watcher *watcher, int revents);
+static void on_quit_timeout (EV_P_ ev_timer *watcher, int revents);
static void close_listeners (struct server_context *self);
static void
@@ -2166,7 +2166,7 @@ try_finish_quit (struct server_context *self)
}
static void
-on_quit_timeout (EV_P_ ev_watcher *watcher, int revents)
+on_quit_timeout (EV_P_ ev_timer *watcher, int revents)
{
struct server_context *self = watcher->data;
(void) loop;