summaryrefslogtreecommitdiff
path: root/src/sys/event.rs
diff options
context:
space:
mode:
authorRoma Sokolov <sokolov.r.v@gmail.com>2014-10-31 13:14:52 +0300
committerRoma Sokolov <sokolov.r.v@gmail.com>2014-10-31 13:14:52 +0300
commit69437208917ddbfce4fed1808e8330200780b01c (patch)
tree3cbdbabdd4783db593d054bf6360e10cd8f3101d /src/sys/event.rs
parent4b339549d5b5840508ab13c1aec65c635ac1add7 (diff)
downloadnix-69437208917ddbfce4fed1808e8330200780b01c.zip
Update source code to new rustc
Diffstat (limited to 'src/sys/event.rs')
-rw-r--r--src/sys/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/event.rs b/src/sys/event.rs
index 4c6e64a8..bd56c9f1 100644
--- a/src/sys/event.rs
+++ b/src/sys/event.rs
@@ -19,7 +19,7 @@ mod ffi {
}
// Bug in rustc, cannot determine that kevent is #[repr(C)]
- #[allow(ctypes)]
+ #[allow(improper_ctypes)]
extern {
pub fn kqueue() -> c_int;