summaryrefslogtreecommitdiff
path: root/tools/hciattach_ti.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:39:54 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:39:54 +0100
commit290427f21ea089c37184886c6569e8a01b990cca (patch)
treec604c2cfb385a41567fccbb928ff69863acda5b1 /tools/hciattach_ti.c
parent500702b6b2adb8fb0bfd118250464cdeca33edcb (diff)
downloadbluez-290427f21ea089c37184886c6569e8a01b990cca.tar.gz
Fix broken forward declarations
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 7c1d58f9d..1d6e273f6 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;