From: David Plotek Date: Wed, 16 Jul 2008 14:12:17 +0000 (+0200) Subject: changes in include X-Git-Url: https://rtime.felk.cvut.cz/gitweb/tiny-bt.git/commitdiff_plain/88dba9684d5ee327f478f2e459e94e5b245f349c changes in include --- diff --git a/src/Makefile.omk b/src/Makefile.omk index b386f43..a297560 100644 --- a/src/Makefile.omk +++ b/src/Makefile.omk @@ -1,3 +1,3 @@ bin_PROGRAMS = hil2cap hil2cap_SOURCES = hil2cap.c hcidriver.c -hil2cap_LIBS = hil2cap.h hcidriver.h \ No newline at end of file +hil2cap_LIBS = \ No newline at end of file diff --git a/src/hcidriver.c b/src/hcidriver.c index 24819b2..46833f0 100644 --- a/src/hcidriver.c +++ b/src/hcidriver.c @@ -4,13 +4,13 @@ #include #include #include -#include #include #include #include "hcidriver.h" + /************************** hci command functions**************************/ int call_hci_inquiry_cmd(int dd, bt_address *p_addressarray,int timeout){ inquiry_cp cmdp,*p_cmdp=&cmdp; diff --git a/src/hcidriver.h b/src/hcidriver.h index 28ec3e9..e74fa93 100644 --- a/src/hcidriver.h +++ b/src/hcidriver.h @@ -14,8 +14,8 @@ #include #include -#include #include +#include "hciembeded.h" @@ -41,13 +41,7 @@ /* BD_ADDR (bluetooth.h)*/ -typedef struct{ - __u8 byte[6]; -} __attribute__((packed)) bt_address; -typedef struct{ - uint8_t b[6]; -} __attribute__((packed)) bdaddr_t; typedef struct{ __u8 byte[3];