Compensate for uv_async_init api change
authorBert Belder <bertbelder@gmail.com>
Sun, 12 Jun 2011 18:53:04 +0000 (20:53 +0200)
committerBert Belder <bertbelder@gmail.com>
Sun, 12 Jun 2011 18:53:04 +0000 (20:53 +0200)
src/node_child_process_win32.cc
src/node_stdio_win32.cc

index 3631b20..e105d9a 100644 (file)
@@ -883,7 +883,7 @@ void ChildProcess::Initialize(Handle<Object> target) {
 
   target->Set(String::NewSymbol("ChildProcess"), t->GetFunction());
 
-  uv_async_init(&watcher_status.async_watcher, notify_exit, NULL, NULL);
+  uv_async_init(&watcher_status.async_watcher, notify_exit);
   watcher_status.lock = CreateSemaphore(NULL, 1, 1, NULL);
 }
 
index e449cb1..7b2561b 100644 (file)
@@ -658,7 +658,7 @@ static Handle<Value> StopTTYWatcher(const Arguments& args) {
 void Stdio::Initialize(v8::Handle<v8::Object> target) {
   init_scancode_table();
   
-  uv_async_init(&tty_avail_notifier, tty_poll, NULL, NULL);
+  uv_async_init(&tty_avail_notifier, tty_poll);
   uv_unref();
 
   name_symbol = NODE_PSYMBOL("name");