diff options
author | Amir Hammad <amir.hammad@hotmail.com> | 2015-04-05 12:14:47 +0200 |
---|---|---|
committer | Amir Hammad <amir.hammad@hotmail.com> | 2015-04-05 12:14:47 +0200 |
commit | efa0baa458ba609e9e2fc116d4fe57f39d72eba9 (patch) | |
tree | da48ca3b67b25a536713b1d15708b2598af28767 | |
parent | 0da537ec692ae3fa79a9ca61a8b3f3e9fe059021 (diff) | |
download | secure-hid-efa0baa458ba609e9e2fc116d4fe57f39d72eba9.tar.gz secure-hid-efa0baa458ba609e9e2fc116d4fe57f39d72eba9.tar.bz2 secure-hid-efa0baa458ba609e9e2fc116d4fe57f39d72eba9.zip |
use stdbool.h to define bool type
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
-rw-r--r-- | include/usbh_hubbed.h | 8 |
1 files changed, 1 insertions, 7 deletions
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 <stdint.h>
+#include <stdbool.h>
/* 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;
|