summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-15 22:31:30 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-15 22:31:30 +0000
commit15beaa4a782951b90b6a3dd5203fd0ed0141ab7b (patch)
tree4c0c95cc0e112d725b25e695a21605d98960a7eb /audio/avdtp.c
parent4f872f7e928b083e14f247ace4eea4175d6ad78a (diff)
Fix problem with non const bdaddr_t
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c4
1 files changed, 2 insertions, 2 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;