summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-10-05 10:16:59 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-05 11:28:26 +0300
commit0336136efd1074100011eab0403cf8085fde0026 (patch)
treeca6f4a6338e4c5dc80669fbbc590d3a0d047b0b1 /plugins
parented6a8af4a31d00bd8a3b5aeb6f22b929f8637d6c (diff)
mgmt: Constify use of bdaddr_t pointer parameters
Mark all input only bdaddr_t pointer parameters as const.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/neard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/neard.c b/plugins/neard.c
index 2fe17854..2da50241 100644
--- a/plugins/neard.c
+++ b/plugins/neard.c
@@ -216,8 +216,9 @@ static void read_local_complete(struct btd_adapter *adapter, uint8_t *hash,
error("D-Bus send failed");
}
-static void bonding_complete(struct btd_adapter *adapter, bdaddr_t *bdaddr,
- uint8_t status, void *user_data)
+static void bonding_complete(struct btd_adapter *adapter,
+ const bdaddr_t *bdaddr, uint8_t status,
+ void *user_data)
{
DBusMessage *msg = user_data;
DBusMessage *reply;