Fix Process::MaybeShutdown's return type

v0.7.4-release
Ryan 2009-06-28 19:55:35 +02:00
parent c9cb41cf80
commit 4787a41b84
2 changed files with 2 additions and 2 deletions

View File

@ -473,7 +473,7 @@ Process::Kill (int sig)
return kill(pid_, sig);
}
int
void
Process::MaybeShutdown (void)
{
if (STDOUT_CLOSED && STDERR_CLOSED && got_chld_) {

View File

@ -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_;