From 34305784601e046f9eb8e107e88bf609f352afc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Marie?= Date: Fri, 30 Jan 2015 11:46:30 +0100 Subject: [PATCH] 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. --- src/liblibc/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index 470f4bed5d85..75867eb38be6 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; }