Skip to content

Commit

Permalink
remove denied unused import: pid_t in raw
Browse files Browse the repository at this point in the history
- unbreak the build under openbsd
- while here, apply same modification to dragonfly, freebsd, ios (pid_t
  imported, but not used in raw.rs)
  • Loading branch information
semarie committed Apr 30, 2015
1 parent b594036 commit 27bcd2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/libstd/os/dragonfly/raw.rs
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/os/freebsd/raw.rs
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/os/ios/raw.rs
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/os/openbsd/raw.rs
Expand Up @@ -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;
Expand Down

0 comments on commit 27bcd2e

Please sign in to comment.