diff options
author | Saúl Ibarra Corretgé <saghul@gmail.com> | 2014-03-13 03:08:29 +0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-04-07 16:37:20 +0400 |
commit | 42b93437102e63ded3e09bbeb24dc96d5b1b62f6 (patch) | |
tree | 07b065cd4f65696bae6fecd5606acffd44ad63c1 /src/spawn_sync.h | |
parent | 962f96d3416ee00c78e729bc1c1b05e02d0c1ef2 (diff) |
src: update uv callbacks after API changes
async, timer, prepare, idle and check handles no longer get a status
parameter since they can never fail.
Diffstat (limited to 'src/spawn_sync.h')
-rw-r--r-- | src/spawn_sync.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spawn_sync.h b/src/spawn_sync.h index 5a9c4dfc848..615e1b9b888 100644 --- a/src/spawn_sync.h +++ b/src/spawn_sync.h @@ -174,7 +174,7 @@ class SyncProcessRunner { void IncrementBufferSizeAndCheckOverflow(ssize_t length); void OnExit(int64_t exit_status, int term_signal); - void OnKillTimerTimeout(int status); + void OnKillTimerTimeout(); int GetError(); void SetError(int error); @@ -202,7 +202,7 @@ class SyncProcessRunner { static void ExitCallback(uv_process_t* handle, int64_t exit_status, int term_signal); - static void KillTimerCallback(uv_timer_t* handle, int status); + static void KillTimerCallback(uv_timer_t* handle); static void KillTimerCloseCallback(uv_handle_t* handle); size_t max_buffer_; |