* revert r38213, as it introduces initialization problems

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38263 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2010-08-19 14:40:17 +00:00
parent a8e3f94438
commit 32a2294fdc
8 changed files with 23 additions and 43 deletions
+3 -10
View File
@@ -24,17 +24,10 @@ typedef struct {
uint8 b[6];
} __attribute__((packed)) bdaddr_t;
namespace BPrivate {
extern const bdaddr_t kBdNullAddress;
extern const bdaddr_t kBdLocalAddress;
extern const bdaddr_t kBdBroadcastAddress;
}
#define BDADDR_NULL (&BPrivate::kBdNullAddress)
#define BDADDR_LOCAL (&BPrivate::kBdLocalAddress)
#define BDADDR_BROADCAST (&BPrivate::kBdBroadcastAddress)
#define BDADDR_NULL (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}})
#define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}})
#define BDADDR_BROADCAST (&(bdaddr_t) {{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}})
#define BDADDR_ANY BDADDR_BROADCAST
+1 -1
View File
@@ -138,7 +138,7 @@ struct bluetooth_core_data_module_info {
status_t (*PostEvent)(bluetooth_device* ndev, void* event,
size_t size);
struct HciConnection* (*AddConnection)(uint16 handle, int type,
const bdaddr_t* dst, hci_id hid);
bdaddr_t* dst, hci_id hid);
// status_t (*RemoveConnection)(bdaddr_t destination, hci_id hid);
status_t (*RemoveConnection)(uint16 handle, hci_id hid);