diff options
author | David Cuddeback <david.cuddeback@gmail.com> | 2017-11-19 17:29:49 -0700 |
---|---|---|
committer | David Cuddeback <david.cuddeback@gmail.com> | 2017-11-19 17:29:49 -0700 |
commit | af14580e2cd669e54c6b52e0c8442414c4b74e32 (patch) | |
tree | e9cd9310283ade67d04372cd64339cffa4a9b6a4 | |
parent | e4044187c9959d60a6ac7cbae8df7f26b699e02d (diff) | |
download | termios-rs-af14580e2cd669e54c6b52e0c8442414c4b74e32.zip |
fix unused extern crate warning
-rw-r--r-- | src/ffi.rs | 2 | ||||
-rwxr-xr-x | src/os/dragonfly.rs | 2 | ||||
-rwxr-xr-x | src/os/freebsd.rs | 2 | ||||
-rw-r--r-- | src/os/linux.rs | 2 | ||||
-rw-r--r-- | src/os/macos.rs | 2 | ||||
-rwxr-xr-x | src/os/openbsd.rs | 2 |
6 files changed, 0 insertions, 12 deletions
@@ -1,7 +1,5 @@ //! Unsafe FFI bindings. -extern crate libc; - use libc::{c_int,pid_t}; #[link(name = "c")] diff --git a/src/os/dragonfly.rs b/src/os/dragonfly.rs index 601f75e..ad51ee2 100755 --- a/src/os/dragonfly.rs +++ b/src/os/dragonfly.rs @@ -1,7 +1,5 @@ #![allow(non_camel_case_types)] -extern crate libc; - use libc::{c_int,c_uint,c_uchar}; pub type cc_t = c_uchar; diff --git a/src/os/freebsd.rs b/src/os/freebsd.rs index f4000be..9752c4a 100755 --- a/src/os/freebsd.rs +++ b/src/os/freebsd.rs @@ -1,7 +1,5 @@ #![allow(non_camel_case_types)] -extern crate libc; - use libc::{c_int,c_uint,c_uchar}; pub type cc_t = c_uchar; diff --git a/src/os/linux.rs b/src/os/linux.rs index 5e535b2..c4d91c4 100644 --- a/src/os/linux.rs +++ b/src/os/linux.rs @@ -1,7 +1,5 @@ #![allow(non_camel_case_types)] -extern crate libc; - use libc::{c_int,c_uint,c_uchar}; pub type cc_t = c_uchar; diff --git a/src/os/macos.rs b/src/os/macos.rs index c4de577..a00c978 100644 --- a/src/os/macos.rs +++ b/src/os/macos.rs @@ -1,7 +1,5 @@ #![allow(non_camel_case_types)] -extern crate libc; - use libc::{c_int,c_uchar,c_ulong}; pub type tcflag_t = c_ulong; diff --git a/src/os/openbsd.rs b/src/os/openbsd.rs index 12ec0fd..68b3707 100755 --- a/src/os/openbsd.rs +++ b/src/os/openbsd.rs @@ -1,7 +1,5 @@ #![allow(non_camel_case_types)] -extern crate libc; - use libc::{c_int,c_uint,c_uchar}; pub type cc_t = c_uchar; |