diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-23 05:39:54 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-23 05:39:54 +0100 |
commit | 290427f21ea089c37184886c6569e8a01b990cca (patch) | |
tree | c604c2cfb385a41567fccbb928ff69863acda5b1 /tools/hciattach_tialt.c | |
parent | 500702b6b2adb8fb0bfd118250464cdeca33edcb (diff) |
Fix broken forward declarations
Diffstat (limited to 'tools/hciattach_tialt.c')
-rw-r--r-- | tools/hciattach_tialt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hciattach_tialt.c b/tools/hciattach_tialt.c index efeae3da..b3dee87e 100644 --- a/tools/hciattach_tialt.c +++ b/tools/hciattach_tialt.c @@ -46,6 +46,8 @@ #include <bluetooth/hci.h> #include <bluetooth/hci_lib.h> +#include "hciattach.h" + #define FAILIF(x, args...) do { \ if (x) { \ fprintf(stderr, ##args); \ @@ -61,8 +63,6 @@ typedef struct { uint8_t data[16]; } __attribute__((packed)) command_complete_t; -extern int read_hci_event(int fd, unsigned char* buf, int size); - static int read_command_complete(int fd, unsigned short opcode, unsigned char len) { command_complete_t resp; /* Read reply. */ |