diff options
| author | Sébastien Marie <semarie@users.noreply.github.com> | 2015-01-30 11:46:30 +0100 |
|---|---|---|
| committer | Sébastien Marie <semarie@users.noreply.github.com> | 2015-02-01 14:41:41 +0100 |
| commit | 34305784601e046f9eb8e107e88bf609f352afc6 (patch) | |
| tree | 4c9f5aba29ddf176bb7b285819bbd1af2d5f4473 /src/liblibc | |
| parent | 568a451a90a14b101ed357235a5055de2940f16b (diff) | |
| download | rust-34305784601e046f9eb8e107e88bf609f352afc6.tar.gz rust-34305784601e046f9eb8e107e88bf609f352afc6.zip | |
openbsd: remove unused openbsd code
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.
Diffstat (limited to 'src/liblibc')
| -rw-r--r-- | src/liblibc/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index 470f4bed5d8..75867eb38be 100644 --- a/src/liblibc/lib.rs +++ b/src/liblibc/lib.rs @@ -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; } |
