summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
authorBryant Mairs <bryantmairs@google.com>2018-01-14 11:52:04 -0800
committerBryant Mairs <bryantmairs@google.com>2018-01-28 17:39:12 -0800
commitefd9e154c8349ceb2dad6e335bedd51fd81a0799 (patch)
treed8609a9427b1a9f49c337e2ca7151699cd1eb054 /src/sys/mod.rs
parentd1be45d8405c98f8f9c222cf004de46e8685826e (diff)
downloadnix-efd9e154c8349ceb2dad6e335bedd51fd81a0799.zip
Alphabetize modules under /sys
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs53
1 files changed, 26 insertions, 27 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index a94b8a06..55c3d5d2 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -20,48 +20,39 @@ pub mod event;
#[cfg(target_os = "linux")]
pub mod eventfd;
-#[cfg(target_os = "linux")]
-pub mod memfd;
-
#[macro_use]
pub mod ioctl;
-// TODO: Add support for dragonfly, freebsd, and ios/macos.
-#[cfg(any(target_os = "android", target_os = "linux"))]
-pub mod sendfile;
+#[cfg(target_os = "linux")]
+pub mod memfd;
-pub mod signal;
+pub mod mman;
-#[cfg(any(target_os = "android", target_os = "linux"))]
-pub mod signalfd;
+pub mod pthread;
-pub mod socket;
+#[cfg(any(target_os = "android", target_os = "linux"))]
+pub mod ptrace;
-pub mod stat;
+#[cfg(target_os = "linux")]
+pub mod quota;
#[cfg(any(target_os = "linux"))]
pub mod reboot;
-pub mod termios;
-
-pub mod utsname;
-
-pub mod wait;
-
-pub mod mman;
+pub mod select;
-pub mod uio;
+// TODO: Add support for dragonfly, freebsd, and ios/macos.
+#[cfg(any(target_os = "android", target_os = "linux"))]
+pub mod sendfile;
-pub mod time;
+pub mod signal;
#[cfg(any(target_os = "android", target_os = "linux"))]
-pub mod ptrace;
-
-pub mod select;
+pub mod signalfd;
-#[cfg(target_os = "linux")]
-pub mod quota;
+pub mod socket;
+pub mod stat;
#[cfg(all(target_os = "linux",
any(target_arch = "x86",
@@ -70,7 +61,6 @@ pub mod quota;
)]
pub mod statfs;
-
#[cfg(all(any(target_os = "linux",
target_os = "macos"),
any(target_arch = "x86",
@@ -78,4 +68,13 @@ pub mod statfs;
target_arch = "arm")),
)]
pub mod statvfs;
-pub mod pthread;
+
+pub mod termios;
+
+pub mod time;
+
+pub mod uio;
+
+pub mod utsname;
+
+pub mod wait;