Skip to content

Commit 3430578

Browse files
committed
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.
1 parent 568a451 commit 3430578

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/liblibc/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3753,9 +3753,6 @@ pub mod consts {
37533753
#[cfg(target_os = "dragonfly")]
37543754
pub const PTHREAD_STACK_MIN: size_t = 1024;
37553755

3756-
#[cfg(target_os = "openbsd")]
3757-
pub const PTHREAD_STACK_MIN: size_t = 2048;
3758-
37593756
pub const CLOCK_REALTIME: c_int = 0;
37603757
pub const CLOCK_MONOTONIC: c_int = 4;
37613758
}

0 commit comments

Comments
 (0)