summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/avdtp.c4
-rw-r--r--audio/manager.c2
-rw-r--r--audio/manager.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index ef51cdd2..00288f4b 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -2130,7 +2130,7 @@ static gboolean avdtp_parse_rej(struct avdtp *session,
}
}
-static struct avdtp *find_session(bdaddr_t *src, bdaddr_t *dst)
+static struct avdtp *find_session(const bdaddr_t *src, const bdaddr_t *dst)
{
GSList *l;
@@ -2146,7 +2146,7 @@ static struct avdtp *find_session(bdaddr_t *src, bdaddr_t *dst)
return NULL;
}
-static struct avdtp *avdtp_get_internal(bdaddr_t *src, bdaddr_t *dst)
+static struct avdtp *avdtp_get_internal(const bdaddr_t *src, const bdaddr_t *dst)
{
struct avdtp *session;
diff --git a/audio/manager.c b/audio/manager.c
index 260d1bb3..33a0d501 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -1610,7 +1610,7 @@ void manager_cancel_authorize(bdaddr_t *dba, const char *uuid,
send_message_and_unref(connection, cancel);
}
-gboolean manager_authorize(bdaddr_t *dba, const char *uuid,
+gboolean manager_authorize(const bdaddr_t *dba, const char *uuid,
DBusPendingCallNotifyFunction cb,
void *user_data,
DBusPendingCall **pending)
diff --git a/audio/manager.h b/audio/manager.h
index acc9c8e2..b64708b8 100644
--- a/audio/manager.h
+++ b/audio/manager.h
@@ -49,7 +49,7 @@ struct device *manager_device_connected(const bdaddr_t *bda, const char *uuid);
gboolean manager_create_device(bdaddr_t *bda, create_dev_cb_t cb,
void *user_data);
-gboolean manager_authorize(bdaddr_t *dba, const char *uuid,
+gboolean manager_authorize(const bdaddr_t *dba, const char *uuid,
DBusPendingCallNotifyFunction cb,
void *user_data,
DBusPendingCall **pending);