diff options
Diffstat (limited to 'os/ports/RVCT')
-rw-r--r-- | os/ports/RVCT/ARMCMx/chtypes.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/os/ports/RVCT/ARMCMx/chtypes.h b/os/ports/RVCT/ARMCMx/chtypes.h index 8dbda9d82..b3f19f674 100644 --- a/os/ports/RVCT/ARMCMx/chtypes.h +++ b/os/ports/RVCT/ARMCMx/chtypes.h @@ -29,14 +29,11 @@ #ifndef _CHTYPES_H_
#define _CHTYPES_H_
-#define __need_NULL
-#define __need_size_t
-#define __need_ptrdiff_t
#include <stddef.h>
-
#include <stdint.h>
+#include <stdbool.h>
-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. */
|