summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2015-04-05 12:14:47 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2015-04-05 12:14:47 +0200
commitefa0baa458ba609e9e2fc116d4fe57f39d72eba9 (patch)
treeda48ca3b67b25a536713b1d15708b2598af28767 /include
parent0da537ec692ae3fa79a9ca61a8b3f3e9fe059021 (diff)
downloadsecure-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>
Diffstat (limited to 'include')
-rw-r--r--include/usbh_hubbed.h8
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;