From 31bd823060e401815374817686eba6cde6e77112 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 2 Jan 2016 20:44:13 -0800 Subject: [PATCH] Revert "Add libc::c_bool type." This reverts commit c700e640080fb829c4fddb1a715bc948fdf87ee8. --- libc-test/build.rs | 1 - src/lib.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/libc-test/build.rs b/libc-test/build.rs index 187d65dce4286..f94f7051faf29 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -36,7 +36,6 @@ fn main() { cfg.header("errno.h") .header("fcntl.h") .header("limits.h") - .header("stdbool.h") .header("stddef.h") .header("stdint.h") .header("stdio.h") diff --git a/src/lib.rs b/src/lib.rs index b140f3ce8e3b8..3f3133fafc731 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -109,7 +109,6 @@ pub type uint16_t = u16; pub type uint32_t = u32; pub type uint64_t = u64; -pub type c_bool = u8; pub type c_schar = i8; pub type c_uchar = u8; pub type c_short = i16;