diff options
author | Will Tange <bh34rt@gmail.com> | 2014-04-09 11:32:42 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-14 12:59:55 -0300 |
commit | ed73da9f0ec532a38f74501985db4bd5c60e5b9d (patch) | |
tree | e34dbdc1641a53a53e5b3ff4d2d1037ca6a2b756 /src/os/input.c | |
parent | a881273dad5eb5d1f5efa8da79704c9cf9abf0e0 (diff) | |
download | rneovim-ed73da9f0ec532a38f74501985db4bd5c60e5b9d.tar.gz rneovim-ed73da9f0ec532a38f74501985db4bd5c60e5b9d.tar.bz2 rneovim-ed73da9f0ec532a38f74501985db4bd5c60e5b9d.zip |
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.
Diffstat (limited to 'src/os/input.c')
-rw-r--r-- | src/os/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |