Fix compiler warning

This commit is contained in:
Přemysl Eric Janouch 2016-01-16 22:16:01 +01:00
parent af3cb3aaba
commit 5298d802bb

View File

@ -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;