From fc892ed42926283eb1cf94406533c6b0d37b1fbb Mon Sep 17 00:00:00 2001 From: Oliver Ruiz Dorantes Date: Wed, 5 Mar 2008 23:29:04 +0000 Subject: [PATCH] Remove prefixes and adapt the JSR82 api a bit more to the Be style git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24251 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/bluetooth/HCI/btHCI_command.h | 4 ++-- headers/os/bluetooth/HCI/btHCI_module.h | 2 +- headers/os/bluetooth/HCI/btHCI_transport.h | 2 +- headers/os/bluetooth/LocalDevice.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/headers/os/bluetooth/HCI/btHCI_command.h b/headers/os/bluetooth/HCI/btHCI_command.h index f3815605dc..065eb5c667 100644 --- a/headers/os/bluetooth/HCI/btHCI_command.h +++ b/headers/os/bluetooth/HCI/btHCI_command.h @@ -100,9 +100,9 @@ struct hci_command_header { #define OCF_WRITE_LOCAL_NAME 0x0013 #define OCF_READ_LOCAL_NAME 0x0014 - struct hci_read_local_name { + struct hci_rp_read_local_name { uint8 status; - char local_name[248]; + char local_name[HCI_DEVICE_NAME_SIZE]; } __attribute__ ((packed)); #define OCF_WRITE_CA_TIMEOUT 0x0016 diff --git a/headers/os/bluetooth/HCI/btHCI_module.h b/headers/os/bluetooth/HCI/btHCI_module.h index 1f2d6db671..45563d50d6 100644 --- a/headers/os/bluetooth/HCI/btHCI_module.h +++ b/headers/os/bluetooth/HCI/btHCI_module.h @@ -12,7 +12,7 @@ #include #include -#include +#include /* defines */ #define BT_HCI_MODULE_NAME "bus_managers/hci/v1" diff --git a/headers/os/bluetooth/HCI/btHCI_transport.h b/headers/os/bluetooth/HCI/btHCI_transport.h index 0e94d0d031..32a44257c0 100644 --- a/headers/os/bluetooth/HCI/btHCI_transport.h +++ b/headers/os/bluetooth/HCI/btHCI_transport.h @@ -10,7 +10,7 @@ #include -#include +#include #include typedef enum { ANCILLYANT = 1, diff --git a/headers/os/bluetooth/LocalDevice.h b/headers/os/bluetooth/LocalDevice.h index 61230c0fb4..47e5a17f39 100644 --- a/headers/os/bluetooth/LocalDevice.h +++ b/headers/os/bluetooth/LocalDevice.h @@ -37,7 +37,7 @@ class LocalDevice { BString GetFriendlyName(); DeviceClass GetDeviceClass(); /* Possible throwing */ - bool SetDiscoverable(int mode); + status_t SetDiscoverable(int mode); BString GetProperty(const char* property); void GetProperty(const char* property, uint32* value);