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:
Szymon Janc 2015-09-15 10:08:04 +02:00 committed by Anas Nashif
commit cc261005f2
11 changed files with 12 additions and 10 deletions

View file

@ -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"

View file

@ -35,6 +35,7 @@
#include <errno.h>
#include <stddef.h>
#include <string.h>
#include <atomic.h>
#include <misc/byteorder.h>
#include <bluetooth/log.h>

View file

@ -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"

View file

@ -32,9 +32,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <atomic.h>
#include <bluetooth/conn.h>
typedef enum {
BT_CONN_DISCONNECTED,
BT_CONN_CONNECT_SCAN,

View file

@ -35,6 +35,7 @@
#include <string.h>
#include <errno.h>
#include <stdbool.h>
#include <atomic.h>
#include <misc/byteorder.h>
#include <misc/util.h>

View file

@ -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"

View file

@ -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

View file

@ -32,6 +32,7 @@
#include <string.h>
#include <nanokernel.h>
#include <atomic.h>
#include <misc/util.h>
#include <bluetooth/log.h>

View file

@ -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"

View file

@ -38,6 +38,7 @@
#include <stddef.h>
#include <errno.h>
#include <string.h>
#include <atomic.h>
#include <misc/util.h>
#include <misc/byteorder.h>

View file

@ -33,8 +33,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <bluetooth/conn.h>
struct bt_smp_hdr {
uint8_t code;
} __packed;