fixing PR review comments

This commit is contained in:
Dave Huseby 2015-02-06 17:59:35 -08:00
parent 2ece7a6831
commit 47ad1cdf56
5 changed files with 15 additions and 427 deletions

View file

@ -307,8 +307,7 @@ mod signal {
#[cfg(any(target_os = "macos",
target_os = "ios",
target_os = "freebsd",
target_os = "dragonfly",
target_os = "openbsd"))]
target_os = "dragonfly"))]
mod signal {
use libc;
@ -322,8 +321,7 @@ mod signal {
pub const SIGCHLD: libc::c_int = 20;
#[cfg(any(target_os = "macos",
target_os = "ios",
target_os = "openbsd"))]
target_os = "ios"))]
pub type sigset_t = u32;
#[cfg(any(target_os = "freebsd", target_os = "dragonfly"))]
#[repr(C)]
@ -351,7 +349,7 @@ mod signal {
}
}
#[cfg(target_os = "bitrig")]
#[cfg(any(target_os = "bitrig", target_os = "openbsd"))]
mod signal {
use libc;

View file

@ -219,10 +219,7 @@ mod imp {
#[cfg(target_os = "macos")]
pub const SIGSTKSZ: libc::size_t = 131072;
#[cfg(target_os = "openbsd")]
pub const SIGSTKSZ: libc::size_t = 40960;
#[cfg(target_os = "bitrig")]
#[cfg(any(target_os = "bitrig", target_os = "openbsd"))]
pub const SIGSTKSZ: libc::size_t = 40960;
pub const SIG_DFL: sighandler_t = 0 as sighandler_t;