From 9c56bcc138b4646e0e6777a3b53afe8e40c9823b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 26 Feb 2013 14:50:16 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5333 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/PPC/chtypes.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'os/ports/GCC/PPC/chtypes.h') diff --git a/os/ports/GCC/PPC/chtypes.h b/os/ports/GCC/PPC/chtypes.h index 6d22b7353..37f4419f6 100644 --- a/os/ports/GCC/PPC/chtypes.h +++ b/os/ports/GCC/PPC/chtypes.h @@ -29,13 +29,9 @@ #ifndef _CHTYPES_H_ #define _CHTYPES_H_ -#define __need_NULL -#define __need_size_t #include - -#if !defined(_STDINT_H) && !defined(__STDINT_H_) #include -#endif +#include /* * Derived generic types. @@ -50,7 +46,7 @@ typedef volatile uint32_t vuint32_t; /**< Volatile unsigned 32 bits. */ /* * Kernel types. */ -typedef int32_t bool_t; /**< Fast boolean type. */ +typedef bool bool_t; /**< Fast boolean type. */ typedef uint8_t tmode_t; /**< Thread flags. */ typedef uint8_t tstate_t; /**< Thread state. */ typedef uint8_t trefs_t; /**< Thread references counter. */ -- cgit v1.2.3