From efa0baa458ba609e9e2fc116d4fe57f39d72eba9 Mon Sep 17 00:00:00 2001 From: Amir Hammad Date: Sun, 5 Apr 2015 12:14:47 +0200 Subject: use stdbool.h to define bool type Signed-off-by: Amir Hammad --- include/usbh_hubbed.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include') diff --git a/include/usbh_hubbed.h b/include/usbh_hubbed.h index 1b6b49a..3125165 100644 --- a/include/usbh_hubbed.h +++ b/include/usbh_hubbed.h @@ -26,6 +26,7 @@ #include "usbh_config.h" #include +#include /* This must be placed around external function declaration for C++ * support. */ @@ -39,13 +40,6 @@ BEGIN_DECLS -#ifndef bool -#define bool _Bool -#define false 0 -#define true 1 -#endif - - // set to -1 to unused items struct _usbh_dev_driver_info { int32_t deviceClass; -- cgit