diff options
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 |