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)
This commit is contained in:
parent
b594036069
commit
27bcd2ebc7
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user