diff options
Diffstat (limited to 'vendor/rustix/src/mm/mod.rs')
-rw-r--r-- | vendor/rustix/src/mm/mod.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vendor/rustix/src/mm/mod.rs b/vendor/rustix/src/mm/mod.rs index 9fabea87f..5a439b34b 100644 --- a/vendor/rustix/src/mm/mod.rs +++ b/vendor/rustix/src/mm/mod.rs @@ -9,13 +9,7 @@ mod userfaultfd; #[cfg(not(target_os = "redox"))] pub use madvise::{madvise, Advice}; -pub use mmap::{ - mlock, mmap, mmap_anonymous, mprotect, munlock, munmap, MapFlags, MprotectFlags, ProtFlags, -}; -#[cfg(any(target_os = "android", target_os = "linux"))] -pub use mmap::{mlock_with, MlockFlags}; -#[cfg(any(linux_raw, all(libc, target_os = "linux")))] -pub use mmap::{mremap, mremap_fixed, MremapFlags}; +pub use mmap::*; pub use msync::{msync, MsyncFlags}; #[cfg(any(target_os = "android", target_os = "linux"))] pub use userfaultfd::{userfaultfd, UserfaultfdFlags}; |