Parent: be8c5be809875ba449a10ca29f5244f0231f6b63
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-10-05 11:20:18
Tree: f4ffe244cda3a5b50864d109d16c23e13baf2140
adapter: Convert adapter_get_address into simple getter Most uses of adapter_get_address were in form of: bdaddr_t addr; adapter_get_address(adapter, &addr); foo(&addr); Changing it to getter makes code simpler and avoid number of not needed memcpy.
Diffstat
| M | attrib/client.c | | | 2 | +- |
| M | audio/manager.c | | | 48 | +++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | plugins/adaptername.c | | | 4 | +- - - |
| M | plugins/dbusoob.c | | | 8 | ++++- - - - |
| M | plugins/neard.c | | | 16 | ++++++- - - - - - - - - - |
| M | plugins/service.c | | | 57 | ++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | plugins/wiimote.c | | | 5 | ++- - - |
| M | profiles/alert/server.c | | | 4 | +- - - |
| M | profiles/gatt/gas.c | | | 16 | ++++++++- - - - - - - - |
| M | profiles/health/hdp.c | | | 14 | +++++++- - - - - - - |
| M | profiles/health/hdp_util.c | | | 24 | +++++++++++- - - - - - - - - - - - - |
| M | profiles/input/device.c | | | 2 | +- |
| M | profiles/input/manager.c | | | 11 | ++- - - - - - - - - |
| M | profiles/network/manager.c | | | 10 | +++++- - - - - |
| M | profiles/network/server.c | | | 8 | +++- - - - - |
| M | profiles/proximity/monitor.c | | | 13 | +++++++- - - - - - |
| M | profiles/sap/manager.c | | | 5 | +- - - - |
| M | src/adapter.c | | | 13 | +++++- - - - - - - - |
| M | src/adapter.h | | | 2 | +- |
| M | src/attrib-server.c | | | 18 | +++++++- - - - - - - - - - - |
| M | src/device.c | | | 143 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | src/manager.c | | | 5 | +- - - - |
| M | src/profile.c | | | 28 | ++++++++++++- - - - - - - - - - - - - - - - |
23 files changed, 179 insertions(+), 277 deletions(-)