diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-10-30 22:55:06 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-11-02 08:23:23 +0100 |
commit | 318e743323beb6c965e24ce5c176dd6aea0347c3 (patch) | |
tree | 44e6fb278f9ca835026ee6ea6a047afe8ae6a32a /include | |
parent | 2e092539f5af011f8461d551177b4bc19619ac2b (diff) | |
download | barebox-318e743323beb6c965e24ce5c176dd6aea0347c3.tar.gz barebox-318e743323beb6c965e24ce5c176dd6aea0347c3.tar.xz |
add bool types support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/types.h | 1 | ||||
-rw-r--r-- | include/xyzModem.h | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/types.h b/include/linux/types.h index 8646e0318a..2241364edb 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -16,6 +16,7 @@ typedef __kernel_pid_t pid_t; typedef __kernel_daddr_t daddr_t; typedef __kernel_key_t key_t; typedef __kernel_suseconds_t suseconds_t; +typedef _Bool bool; #ifdef __KERNEL__ typedef __kernel_uid32_t uid_t; diff --git a/include/xyzModem.h b/include/xyzModem.h index f437bbd0bd..9723e731cc 100644 --- a/include/xyzModem.h +++ b/include/xyzModem.h @@ -97,11 +97,6 @@ typedef struct { #endif } connection_info_t; -#ifndef BOOL_WAS_DEFINED -#define BOOL_WAS_DEFINED -typedef unsigned int bool; -#endif - #define false 0 #define true 1 |