Skip to content

Commit

Permalink
openbsd: remove unused openbsd code
Browse files Browse the repository at this point in the history
This code is in a block (libc::consts::os) that openbsd don't include
This one is for freebsd and dragonfly. There is another block for openbsd below.

Remove the unneed declaration.
  • Loading branch information
semarie committed Feb 1, 2015
1 parent 568a451 commit 3430578
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/liblibc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3753,9 +3753,6 @@ pub mod consts {
#[cfg(target_os = "dragonfly")]
pub const PTHREAD_STACK_MIN: size_t = 1024;

#[cfg(target_os = "openbsd")]
pub const PTHREAD_STACK_MIN: size_t = 2048;

pub const CLOCK_REALTIME: c_int = 0;
pub const CLOCK_MONOTONIC: c_int = 4;
}
Expand Down

0 comments on commit 3430578

Please sign in to comment.