From ed73da9f0ec532a38f74501985db4bd5c60e5b9d Mon Sep 17 00:00:00 2001 From: Will Tange Date: Wed, 9 Apr 2014 11:32:42 +0200 Subject: Bring neovim up to date with recent libuv changes As of v0.11.23 libuv's uv_timer_cb, uv_async_cb, uv_prepare_cb, uv_check_cb and uv_idle_cb no longer require a status parameter (this went unused in the first place). Bump third-party dependency `libuv` up to 0.11.23 and remove the extra parameters from the callbacks. --- src/os/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/os/input.c') diff --git a/src/os/input.c b/src/os/input.c index ce1dd69fc0..6f44df166f 100644 --- a/src/os/input.c +++ b/src/os/input.c @@ -42,7 +42,7 @@ static InbufPollResult inbuf_poll(int32_t ms); static void stderr_switch(void); static void alloc_cb(uv_handle_t *, size_t, uv_buf_t *); static void read_cb(uv_stream_t *, ssize_t, const uv_buf_t *); -static void fread_idle_cb(uv_idle_t *, int); +static void fread_idle_cb(uv_idle_t *); void input_init() { @@ -246,7 +246,7 @@ static void read_cb(uv_stream_t *stream, ssize_t cnt, const uv_buf_t *buf) } // Called by the by the 'idle' handle to emulate a reading event -static void fread_idle_cb(uv_idle_t *handle, int status) +static void fread_idle_cb(uv_idle_t *handle) { uv_fs_t req; -- cgit