Fix wrong parameter name in device.h
PATCH 1/1 Fix wrong parameter name in device.h
--- src/device.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
src/device.h +1 -1
@@ -47,7 +47,7 @@ const sdp_record_t *btd_device_get_record(struct btd_device *device, const char *uuid);void btd_device_add_uuid (struct btd_device *device,const char *uuid);struct btd_adapter *device_get_adapter (struct btd_device *device); -void device_get_address (struct btd_device *adapter,bdaddr_t *bdaddr); +void device_get_address (struct btd_device *device,bdaddr_t *bdaddr);const gchar *device_get_path (struct btd_device *device);struct agent *device_get_agent (struct btd_device *device);gboolean device_is_busy (struct btd_device *device);
Signature · 1 line
1.7.0.4
Hi,
Quoted 9 lines · Jose Antonio Santos Cadenas
--- src/device.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)src/device.h +0
-0
src/device.h const sdp_record_t *btd_device_get_record(struct btd_device *device, · line 53
Quoted 8 lines
src/device.h +1
-1@@ -47,7 +47,7 @@ const sdp_record_t *btd_device_get_record(struct btd_device *device, const char *uuid);void btd_device_add_uuid (struct btd_device *device,const char *uuid);struct btd_adapter *device_get_adapter (struct btd_device *device); -void device_get_address (struct btd_device *adapter,bdaddr_t *bdaddr); +void device_get_address (struct btd_device *device,bdaddr_t *bdaddr);const gchar *device_get_path (struct btd_device *device);struct agent *device_get_agent (struct btd_device *device);gboolean device_is_busy (struct btd_device *device);
Nice catch. The patch is now pushed upstream.
Johan