diff options
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | src/mqueue.rs (renamed from src/mq.rs) | 0 | ||||
-rw-r--r-- | test/test_mq.rs | 6 |
3 files changed, 4 insertions, 4 deletions
@@ -31,7 +31,7 @@ pub mod fcntl; pub mod mount; #[cfg(any(target_os = "linux"))] -pub mod mq; +pub mod mqueue; #[cfg(any(target_os = "linux", target_os = "android"))] pub mod sched; diff --git a/src/mq.rs b/src/mqueue.rs index 63078192..63078192 100644 --- a/src/mq.rs +++ b/src/mqueue.rs diff --git a/test/test_mq.rs b/test/test_mq.rs index a320a52c..36e9dc7c 100644 --- a/test/test_mq.rs +++ b/test/test_mq.rs @@ -1,6 +1,6 @@ -use nix::mq::{mq_open, mq_close, mq_send, mq_receive}; -use nix::mq::{O_CREAT, O_WRONLY, O_RDONLY}; -use nix::mq::MqAttr; +use nix::mqueue::{mq_open, mq_close, mq_send, mq_receive}; +use nix::mqueue::{O_CREAT, O_WRONLY, O_RDONLY}; +use nix::mqueue::MqAttr; use nix::sys::stat::{S_IWUSR, S_IRUSR, S_IRGRP, S_IROTH}; use std::ffi::CString; use std::str; |