Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/libc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e267377c7f3faab1bdb0a829044c8de0c41c2806
Choose a base ref
..
head repository: rust-lang/libc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b388a9a1990f57c3a4bdedfbe793d76826aa31ef
Choose a head ref
Showing with 1 addition and 5 deletions.
  1. +1 −1 src/unix/bsd/mod.rs
  2. +0 −1 src/unix/bsd/openbsdlike/netbsd.rs
  3. +0 −1 src/unix/bsd/openbsdlike/openbsd.rs
  4. +0 −1 src/unix/notbsd/linux/mod.rs
  5. +0 −1 src/unix/solaris/mod.rs
2 changes: 1 addition & 1 deletion src/unix/bsd/mod.rs
Original file line number Diff line number Diff line change
@@ -339,6 +339,7 @@ f! {
pub fn WCOREDUMP(status: ::c_int) -> bool {
(status & 0o200) != 0
}

}

extern {
@@ -356,7 +357,6 @@ extern {
result: *mut *mut passwd) -> ::c_int;
pub fn getprogname() -> *const ::c_char;
pub fn setprogname(name: *const ::c_char);
pub fn getloadavg(loadavg: *mut ::c_double, nelem: ::c_int) -> ::c_int;
}

cfg_if! {
1 change: 0 additions & 1 deletion src/unix/bsd/openbsdlike/netbsd.rs
Original file line number Diff line number Diff line change
@@ -267,7 +267,6 @@ pub const IPV6_LEAVE_GROUP: ::c_int = 13;
pub const SO_SNDTIMEO: ::c_int = 0x100b;
pub const SO_RCVTIMEO: ::c_int = 0x100c;

pub const KERN_PROC : ::c_int = 14;
pub const O_DSYNC : ::c_int = 0x10000;

pub const MAP_RENAME : ::c_int = 0x20;
1 change: 0 additions & 1 deletion src/unix/bsd/openbsdlike/openbsd.rs
Original file line number Diff line number Diff line change
@@ -164,7 +164,6 @@ pub const SO_RCVTIMEO: ::c_int = 0x1006;
pub const IPV6_JOIN_GROUP: ::c_int = 12;
pub const IPV6_LEAVE_GROUP: ::c_int = 13;

pub const KERN_PROC : ::c_int = 66;
pub const O_DSYNC : ::c_int = 128;

pub const MAP_RENAME : ::c_int = 0x0000;
1 change: 0 additions & 1 deletion src/unix/notbsd/linux/mod.rs
Original file line number Diff line number Diff line change
@@ -612,7 +612,6 @@ extern {
resource: ::c_int,
new_limit: *const ::rlimit64,
old_limit: *mut ::rlimit64) -> ::c_int;
pub fn getloadavg(loadavg: *mut ::c_double, nelem: ::c_int) -> ::c_int;
}

cfg_if! {
1 change: 0 additions & 1 deletion src/unix/solaris/mod.rs
Original file line number Diff line number Diff line change
@@ -903,6 +903,5 @@ extern {
pub fn uselocale(loc: ::locale_t) -> ::locale_t;
pub fn getprogname() -> *const ::c_char;
pub fn setprogname(name: *const ::c_char);
pub fn getloadavg(loadavg: *mut ::c_double, nelem: ::c_int) -> ::c_int;
}