summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/io/eventfd.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/io/eventfd.rs')
-rw-r--r--vendor/rustix/src/io/eventfd.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/rustix/src/io/eventfd.rs b/vendor/rustix/src/io/eventfd.rs
index 53e9d11f0..22ffc627c 100644
--- a/vendor/rustix/src/io/eventfd.rs
+++ b/vendor/rustix/src/io/eventfd.rs
@@ -1,7 +1,7 @@
-use crate::imp;
-use crate::io::{self, OwnedFd};
+use crate::fd::OwnedFd;
+use crate::{backend, io};
-pub use imp::io::types::EventfdFlags;
+pub use backend::io::types::EventfdFlags;
/// `eventfd(initval, flags)`—Creates a file descriptor for event
/// notification.
@@ -12,5 +12,5 @@ pub use imp::io::types::EventfdFlags;
/// [Linux]: https://man7.org/linux/man-pages/man2/eventfd.2.html
#[inline]
pub fn eventfd(initval: u32, flags: EventfdFlags) -> io::Result<OwnedFd> {
- imp::io::syscalls::eventfd(initval, flags)
+ backend::io::syscalls::eventfd(initval, flags)
}