aboutsummaryrefslogtreecommitdiff
path: root/src/unix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix.rs')
-rw-r--r--src/unix.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/unix.rs b/src/unix.rs
index f53ddd6..f1e8d2c 100644
--- a/src/unix.rs
+++ b/src/unix.rs
@@ -1,7 +1,5 @@
//! Unix-only extensions, for sending signals.
-extern crate libc;
-
use std::io;
pub trait SharedChildExt {
@@ -30,11 +28,10 @@ impl SharedChildExt for super::SharedChild {
#[cfg(test)]
mod tests {
- use super::libc;
use super::SharedChildExt;
+ use crate::tests::*;
+ use crate::SharedChild;
use std::os::unix::process::ExitStatusExt;
- use tests::*;
- use SharedChild;
#[test]
fn test_send_signal() {