Bluetooth: Remove includes from internal headers
All required includes should be placed in source file that includes internal header. Change-Id: I161e7ebe2e62377ea4cf03f759d48f5900103076 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
parent
348276044f
commit
cc261005f2
11 changed files with 12 additions and 10 deletions
|
@ -36,6 +36,7 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <atomic.h>
|
||||
#include <misc/byteorder.h>
|
||||
#include <misc/util.h>
|
||||
|
||||
|
@ -44,6 +45,7 @@
|
|||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/uuid.h>
|
||||
#include <bluetooth/gatt.h>
|
||||
#include <bluetooth/driver.h>
|
||||
|
||||
#include "hci_core.h"
|
||||
#include "conn_internal.h"
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <atomic.h>
|
||||
#include <misc/byteorder.h>
|
||||
|
||||
#include <bluetooth/log.h>
|
||||
|
|
|
@ -36,12 +36,14 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <atomic.h>
|
||||
#include <misc/byteorder.h>
|
||||
#include <misc/util.h>
|
||||
|
||||
#include <bluetooth/log.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/driver.h>
|
||||
|
||||
#include "hci_core.h"
|
||||
#include "conn_internal.h"
|
||||
|
|
|
@ -32,9 +32,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <atomic.h>
|
||||
#include <bluetooth/conn.h>
|
||||
|
||||
typedef enum {
|
||||
BT_CONN_DISCONNECTED,
|
||||
BT_CONN_CONNECT_SCAN,
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <atomic.h>
|
||||
#include <misc/byteorder.h>
|
||||
#include <misc/util.h>
|
||||
|
||||
|
|
|
@ -37,12 +37,14 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <atomic.h>
|
||||
#include <misc/util.h>
|
||||
#include <misc/byteorder.h>
|
||||
|
||||
#include <bluetooth/log.h>
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/driver.h>
|
||||
|
||||
#include "hci_core.h"
|
||||
#include "keys.h"
|
||||
|
|
|
@ -30,11 +30,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <atomic.h>
|
||||
#include <stdbool.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <bluetooth/driver.h>
|
||||
|
||||
/* Enabling debug increases stack size requirement considerably */
|
||||
#if defined(CONFIG_BLUETOOTH_DEBUG)
|
||||
#define BT_STACK_DEBUG_EXTRA 512
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <nanokernel.h>
|
||||
#include <atomic.h>
|
||||
#include <misc/util.h>
|
||||
|
||||
#include <bluetooth/log.h>
|
||||
|
|
|
@ -35,11 +35,13 @@
|
|||
#include <toolchain.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <atomic.h>
|
||||
#include <misc/byteorder.h>
|
||||
|
||||
#include <bluetooth/log.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/driver.h>
|
||||
|
||||
#include "hci_core.h"
|
||||
#include "conn_internal.h"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <stddef.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <atomic.h>
|
||||
#include <misc/util.h>
|
||||
#include <misc/byteorder.h>
|
||||
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <bluetooth/conn.h>
|
||||
|
||||
struct bt_smp_hdr {
|
||||
uint8_t code;
|
||||
} __packed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue