Skip to content

Commit 5cb5d27

Browse files
committed
Rollup merge of rust-lang#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
2 parents fe54be2 + 27bcd2e commit 5cb5d27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/libstd/os/dragonfly/raw.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! Dragonfly-specific raw type definitions
1212
1313
use os::raw::c_long;
14-
use os::unix::raw::{pid_t, uid_t, gid_t};
14+
use os::unix::raw::{uid_t, gid_t};
1515

1616
pub type blkcnt_t = i64;
1717
pub type blksize_t = u32;

src/libstd/os/freebsd/raw.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! FreeBSD-specific raw type definitions
1212
1313
use os::raw::c_long;
14-
use os::unix::raw::{uid_t, gid_t, pid_t};
14+
use os::unix::raw::{uid_t, gid_t};
1515

1616
pub type blkcnt_t = i64;
1717
pub type blksize_t = i64;

src/libstd/os/openbsd/raw.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! OpenBSD-specific raw type definitions
1212
1313
use os::raw::c_long;
14-
use os::unix::raw::{uid_t, gid_t, pid_t};
14+
use os::unix::raw::{uid_t, gid_t};
1515

1616
pub type blkcnt_t = i64;
1717
pub type blksize_t = u32;

0 commit comments

Comments
 (0)