提交 84a23be5 编写于 作者: M Manish Goregaokar

Rollup merge of #24988 - semarie:unused-pid_t, r=alexcrichton

- unbreak the build under openbsd
- while here, apply same modification to dragonfly, freebsd, ios (pid_t
  imported, but not used in raw.rs)

r? @alexcrichton
cc @wg @mneumann @vhbit
......@@ -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 @@
//! 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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册