summaryrefslogtreecommitdiff
path: root/src/switch.rs
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2018-11-19 15:13:06 +0100
committergnzlbg <gonzalobg88@gmail.com>2018-11-20 11:19:34 +0100
commitd1457314dd3f887a3d7da98408b15b15db6d675c (patch)
tree696095d9bb26ce1635b504e9409b6cf8318cc242 /src/switch.rs
parenta9b3f97d442fa9e787b169285dab7f8beaf2ced8 (diff)
downloadrust-libc-d1457314dd3f887a3d7da98408b15b15db6d675c.tar.gz
Factor out platforms for which libc is empty
Diffstat (limited to 'src/switch.rs')
-rw-r--r--src/switch.rs29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/switch.rs b/src/switch.rs
index d47d41b108..240e938068 100644
--- a/src/switch.rs
+++ b/src/switch.rs
@@ -1,34 +1,5 @@
//! Switch C type definitions
-pub type int8_t = i8;
-pub type int16_t = i16;
-pub type int32_t = i32;
-pub type int64_t = i64;
-pub type uint8_t = u8;
-pub type uint16_t = u16;
-pub type uint32_t = u32;
-pub type uint64_t = u64;
-
-pub type c_schar = i8;
-pub type c_uchar = u8;
-pub type c_short = i16;
-pub type c_ushort = u16;
-pub type c_int = i32;
-pub type c_uint = u32;
-pub type c_float = f32;
-pub type c_double = f64;
-pub type c_longlong = i64;
-pub type c_ulonglong = u64;
-pub type intmax_t = i64;
-pub type uintmax_t = u64;
-
-pub type size_t = usize;
-pub type ptrdiff_t = isize;
-pub type intptr_t = isize;
-pub type uintptr_t = usize;
-pub type ssize_t = isize;
-
-// Arch specific
pub type off_t = i64;
pub type c_char = u8;
pub type c_long = i64;