summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Humenda <shumenda@gmx.de>2019-03-02 19:47:53 +0100
committerSebastian Humenda <shumenda@gmx.de>2019-03-02 19:47:53 +0100
commit3c8a4932a4c4e3371af55bd6d134b7b842aa48fb (patch)
treede5dd1c1c03313064b7227352fbbeca0c5394082
parent2c18025f886bc97324260822d47d1f4df5d509f3 (diff)
downloadrust-libc-3c8a4932a4c4e3371af55bd6d134b7b842aa48fb.tar.gz
fix style issue
-rw-r--r--src/unix/uclibc/x86_64/mod.rs2
-rw-r--r--src/unix/uclibc/x86_64/other.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/unix/uclibc/x86_64/mod.rs b/src/unix/uclibc/x86_64/mod.rs
index 5da1a83adc..0afa7dc77b 100644
--- a/src/unix/uclibc/x86_64/mod.rs
+++ b/src/unix/uclibc/x86_64/mod.rs
@@ -272,8 +272,6 @@ pub const O_NONBLOCK: ::c_int = 04000;
pub const O_TRUNC: ::c_int = 01000;
pub const NCCS: usize = 32;
pub const SIG_SETMASK: ::c_int = 2; // Set the set of blocked signals
-#[cfg(not(target_os = "l4re"))]
-pub const PTHREAD_STACK_MIN: usize = 16384;
pub const __SIZEOF_PTHREAD_MUTEX_T: usize = 40;
pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 4;
pub const SO_BROADCAST: ::c_int = 6;
diff --git a/src/unix/uclibc/x86_64/other.rs b/src/unix/uclibc/x86_64/other.rs
index 1cc521df99..481577cfc2 100644
--- a/src/unix/uclibc/x86_64/other.rs
+++ b/src/unix/uclibc/x86_64/other.rs
@@ -2,3 +2,4 @@
// separate module
pub type pthread_t = ::c_ulong;
+pub const PTHREAD_STACK_MIN: usize = 16384;