summaryrefslogtreecommitdiffstats
path: root/tools/hciattach_ti.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hciattach_ti.c')
-rw-r--r--tools/hciattach_ti.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/hciattach_ti.c b/tools/hciattach_ti.c
index 7c1d58f9..1d6e273f 100644
--- a/tools/hciattach_ti.c
+++ b/tools/hciattach_ti.c
@@ -43,6 +43,8 @@
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
+#include "hciattach.h"
+
#ifdef HCIATTACH_DEBUG
#define DPRINTF(x...) printf(x)
#else
@@ -109,9 +111,6 @@ struct bts_action_serial {
uint32_t flow_control;
}__attribute__ ((packed));
-extern int set_speed(int fd, struct termios *ti, int speed);
-extern int read_hci_event(int fd, unsigned char* buf, int size);
-
static FILE *bts_load_script(const char* file_name, uint32_t* version)
{
struct bts_header header;