Alphabetize modules under /sys
@@ -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;
