about summary refs log tree commit diff
path: root/src/librustuv/async.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustuv/async.rs')
-rw-r--r--src/librustuv/async.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustuv/async.rs b/src/librustuv/async.rs
index 4a1858ee036..79e57db1bf5 100644
--- a/src/librustuv/async.rs
+++ b/src/librustuv/async.rs
@@ -26,7 +26,7 @@ impl AsyncWatcher {
             watcher.install_watcher_data();
             let data = watcher.get_watcher_data();
             data.async_cb = Some(cb);
-            assert_eq!(0, uvll::async_init(loop_.native_handle(), handle, async_cb));
+            assert_eq!(0, uvll::uv_async_init(loop_.native_handle(), handle, async_cb));
             return watcher;
         }
 
@@ -42,7 +42,7 @@ impl AsyncWatcher {
     pub fn send(&mut self) {
         unsafe {
             let handle = self.native_handle();
-            uvll::async_send(handle);
+            uvll::uv_async_send(handle);
         }
     }
 }