drivers/nble: Rearrange header includes
Rearrange headers so that internal header files gap_internal.h and gatt_internal.h do not source headers, they are included in *.c files. Change-Id: I6450ab90eec1b450ee8a138da2ed72b8aaeaf616 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
018709de1c
commit
76ce7d67e9
7 changed files with 8 additions and 12 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/log.h>
|
||||
|
||||
#include "version.h"
|
||||
#include "gap_internal.h"
|
||||
#include "conn_internal.h"
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/log.h>
|
||||
|
||||
#include "version.h"
|
||||
#include "gap_internal.h"
|
||||
#include "uart.h"
|
||||
#include "rpc.h"
|
||||
|
|
|
@ -18,12 +18,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
/* For bt_addr_le_t */
|
||||
#include "bluetooth/hci.h"
|
||||
#include "version.h"
|
||||
|
||||
/* Maximum security key len (LTK, CSRK) */
|
||||
#define BLE_GAP_SEC_MAX_KEY_LEN 16
|
||||
|
||||
|
|
|
@ -18,10 +18,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <bluetooth/gatt.h>
|
||||
|
||||
/* Max number of service supported, if changed update BLE core needs to be
|
||||
* updated too!
|
||||
*/
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <bluetooth/gatt.h>
|
||||
/* for bt_security_t */
|
||||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/log.h>
|
||||
|
@ -29,7 +30,7 @@
|
|||
#endif /* CONFIG_PRINTK */
|
||||
|
||||
#include "rpc.h"
|
||||
|
||||
#include "version.h"
|
||||
#include "gap_internal.h"
|
||||
#include "gatt_internal.h"
|
||||
|
||||
|
|
|
@ -16,10 +16,11 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include <bluetooth/gatt.h>
|
||||
#include <bluetooth/conn.h>
|
||||
|
||||
#include "rpc.h"
|
||||
|
||||
#include "version.h"
|
||||
#include "gap_internal.h"
|
||||
#include "gatt_internal.h"
|
||||
|
||||
|
|
|
@ -14,9 +14,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <bluetooth/gatt.h>
|
||||
#include <bluetooth/conn.h>
|
||||
#include <bluetooth/log.h>
|
||||
|
||||
#include "version.h"
|
||||
#include "gap_internal.h"
|
||||
#include "gatt_internal.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue