bluetooth: Remove the unnecessary forward reference
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
d1dc0bf848
commit
3dfb897ed1
@ -53,7 +53,6 @@
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
|
||||
#include "bt_uart.h"
|
||||
|
||||
|
@ -48,6 +48,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <nuttx/wqueue.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -72,8 +73,6 @@
|
||||
|
||||
/* This type defines the state data generic UART upper half driver */
|
||||
|
||||
struct btuart_lowerhalf_s; /* Forward reference */
|
||||
|
||||
struct btuart_upperhalf_s
|
||||
{
|
||||
/* This structure must appear first in the structure so that this structure
|
||||
@ -98,7 +97,5 @@ struct btuart_upperhalf_s
|
||||
|
||||
/* Generic implementations of HCI UART methods */
|
||||
|
||||
struct bt_buf_s; /* Forward reference */
|
||||
|
||||
int btuart_send(FAR const struct bt_driver_s *dev, FAR struct bt_buf_s *buf);
|
||||
int btuart_open(FAR const struct bt_driver_s *dev);
|
||||
|
@ -43,8 +43,6 @@
|
||||
#include <nuttx/kthread.h>
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/serial/tioctl.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart_shim.h>
|
||||
#include <termios.h>
|
||||
|
||||
#include "bt_uart.h"
|
||||
|
@ -44,7 +44,6 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
|
||||
#include "bt_uart.h"
|
||||
|
||||
|
@ -45,16 +45,6 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
|
||||
#if 0
|
||||
#include <stddef.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
#endif
|
||||
|
||||
#include "bt_uart.h"
|
||||
|
||||
|
@ -154,8 +154,6 @@ struct bt_bufferlist_s
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
struct iob_s; /* Forward reference */
|
||||
|
||||
FAR struct bt_buf_s *bt_buf_alloc(enum bt_buf_type_e type,
|
||||
FAR struct iob_s *iob,
|
||||
size_t reserve_head);
|
||||
|
Loading…
Reference in New Issue
Block a user