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/job.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/job.c')
-rw-r--r-- | src/os/job.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/job.c b/src/os/job.c index 3a6af7ba92..0d62940013 100644 --- a/src/os/job.c +++ b/src/os/job.c @@ -55,7 +55,7 @@ static Job * find_job(int id); static void free_job(Job *job); // Callbacks for libuv -static void job_prepare_cb(uv_prepare_t *handle, int status); +static void job_prepare_cb(uv_prepare_t *handle); static void alloc_cb(uv_handle_t *handle, size_t suggested, uv_buf_t *buf); static void read_cb(uv_stream_t *stream, ssize_t cnt, const uv_buf_t *buf); static void write_cb(uv_write_t *req, int status); @@ -257,7 +257,7 @@ static void free_job(Job *job) /// Iterates the table, sending SIGTERM to stopped jobs and SIGKILL to those /// that didn't die from SIGTERM after a while(exit_timeout is 0). -static void job_prepare_cb(uv_prepare_t *handle, int status) +static void job_prepare_cb(uv_prepare_t *handle) { Job *job; int i; |