Fix Process::MaybeShutdown's return type

This commit is contained in:
Ryan committed 2009-06-28 19:55:35 +02:00
1 parent c9cb41cf80
commit 4787a41b84
2 files changed
+2 -2

No files matched your search

+1 -1
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_) {
+1 -1
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_;