From 88dba9684d5ee327f478f2e459e94e5b245f349c Mon Sep 17 00:00:00 2001 From: David Plotek Date: Wed, 16 Jul 2008 16:12:17 +0200 Subject: [PATCH] changes in include --- src/Makefile.omk | 2 +- src/hcidriver.c | 2 +- src/hcidriver.h | 8 +------- 3 files changed, 3 insertions(+), 9 deletions(-) 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]; -- 2.39.2