diff --git a/src/process.cc b/src/process.cc index 73af08d1dba..5fe4810b8c5 100644 --- a/src/process.cc +++ b/src/process.cc @@ -473,7 +473,7 @@ Process::Kill (int sig) return kill(pid_, sig); } -int +void Process::MaybeShutdown (void) { if (STDOUT_CLOSED && STDERR_CLOSED && got_chld_) { diff --git a/src/process.h b/src/process.h index 42ca29e6fd8..951cf4d22c7 100644 --- a/src/process.h +++ b/src/process.h @@ -36,7 +36,7 @@ class Process : EventEmitter { static void OnWritable (EV_P_ ev_io *watcher, int revents); static void OnCHLD (EV_P_ ev_child *watcher, int revents); - int MaybeShutdown (void); + void MaybeShutdown (void); void Shutdown (void); ev_io stdout_watcher_;