summaryrefslogtreecommitdiff
path: root/src/sys/mman.rs
diff options
context:
space:
mode:
authorMattis Marjak <mattis.marjak@gmail.com>2015-12-04 01:16:44 +0200
committerCarl Lerche <me@carllerche.com>2016-01-18 21:29:38 -0800
commitcafd7c96f18a8beed8e1328bdabdb29f1434689f (patch)
tree2b9f079a68d8e0192c35f99f93d10597a2aea425 /src/sys/mman.rs
parent49798be4d445dc224f81eddb636997c1245cdab3 (diff)
downloadnix-cafd7c96f18a8beed8e1328bdabdb29f1434689f.zip
allow improper_ctypes for size_t
Diffstat (limited to 'src/sys/mman.rs')
-rw-r--r--src/sys/mman.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs
index 0522ab52..f74f0b8e 100644
--- a/src/sys/mman.rs
+++ b/src/sys/mman.rs
@@ -179,7 +179,7 @@ mod ffi {
pub use libc::{mmap, munmap};
-
+ #[allow(improper_ctypes)]
extern {
pub fn shm_open(name: *const c_char, oflag: c_int, mode: mode_t) -> c_int;
pub fn shm_unlink(name: *const c_char) -> c_int;