Skip to content

Commit 27bcd2e

Browse files
committed
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)
1 parent b594036 commit 27bcd2e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
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/ios/raw.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! iOS-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 = i32;

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)