diff options
| author | Sébastien Marie <semarie@users.noreply.github.com> | 2015-04-30 17:26:53 +0200 |
|---|---|---|
| committer | Sébastien Marie <semarie@users.noreply.github.com> | 2015-04-30 17:26:53 +0200 |
| commit | 27bcd2ebc75b45b3c1afc6cc67ce652b7fdca2e6 (patch) | |
| tree | 3ee445360673267b6b4776d66f5565fc9e3ae276 /src/libstd | |
| parent | b59403606953d01391c1faa38d96062e3dfafa3d (diff) | |
| download | rust-27bcd2ebc75b45b3c1afc6cc67ce652b7fdca2e6.tar.gz rust-27bcd2ebc75b45b3c1afc6cc67ce652b7fdca2e6.zip | |
remove denied unused import: pid_t in raw
- unbreak the build under openbsd - while here, apply same modification to dragonfly, freebsd, ios (pid_t imported, but not used in raw.rs)
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/os/dragonfly/raw.rs | 2 | ||||
| -rw-r--r-- | src/libstd/os/freebsd/raw.rs | 2 | ||||
| -rw-r--r-- | src/libstd/os/ios/raw.rs | 2 | ||||
| -rw-r--r-- | src/libstd/os/openbsd/raw.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/os/dragonfly/raw.rs b/src/libstd/os/dragonfly/raw.rs index 22c811ead43..86522cc1e79 100644 --- a/src/libstd/os/dragonfly/raw.rs +++ b/src/libstd/os/dragonfly/raw.rs @@ -11,7 +11,7 @@ //! Dragonfly-specific raw type definitions use os::raw::c_long; -use os::unix::raw::{pid_t, uid_t, gid_t}; +use os::unix::raw::{uid_t, gid_t}; pub type blkcnt_t = i64; pub type blksize_t = u32; diff --git a/src/libstd/os/freebsd/raw.rs b/src/libstd/os/freebsd/raw.rs index a810eff45d3..a3b95738a1a 100644 --- a/src/libstd/os/freebsd/raw.rs +++ b/src/libstd/os/freebsd/raw.rs @@ -11,7 +11,7 @@ //! FreeBSD-specific raw type definitions use os::raw::c_long; -use os::unix::raw::{uid_t, gid_t, pid_t}; +use os::unix::raw::{uid_t, gid_t}; pub type blkcnt_t = i64; pub type blksize_t = i64; diff --git a/src/libstd/os/ios/raw.rs b/src/libstd/os/ios/raw.rs index 3266b3846d8..a66e01b2c39 100644 --- a/src/libstd/os/ios/raw.rs +++ b/src/libstd/os/ios/raw.rs @@ -11,7 +11,7 @@ //! iOS-specific raw type definitions use os::raw::c_long; -use os::unix::raw::{uid_t, gid_t, pid_t}; +use os::unix::raw::{uid_t, gid_t}; pub type blkcnt_t = i64; pub type blksize_t = i32; diff --git a/src/libstd/os/openbsd/raw.rs b/src/libstd/os/openbsd/raw.rs index 632a8c336b7..0bdba9e3487 100644 --- a/src/libstd/os/openbsd/raw.rs +++ b/src/libstd/os/openbsd/raw.rs @@ -11,7 +11,7 @@ //! OpenBSD-specific raw type definitions use os::raw::c_long; -use os::unix::raw::{uid_t, gid_t, pid_t}; +use os::unix::raw::{uid_t, gid_t}; pub type blkcnt_t = i64; pub type blksize_t = u32; |
