summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-16 16:24:18 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-16 16:24:18 +0000
commit5d5f4d99e9176da5f01b7195e6132b5796d026d8 (patch)
tree08161208400369f7bc8869396ab78473d8099710
parentc2d6dc7eb5e2df982df34bb79c92ff5c4131489e (diff)
a2dp_select_capabilities doesn't need to be public
-rw-r--r--audio/a2dp.c2
-rw-r--r--audio/a2dp.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/audio/a2dp.c b/audio/a2dp.c
index 14c1b440..bcd294da 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -686,7 +686,7 @@ static gboolean select_sbc_params(struct sbc_codec_cap *cap,
return TRUE;
}
-gboolean a2dp_select_capabilities(struct avdtp_remote_sep *rsep, GSList **caps)
+static gboolean a2dp_select_capabilities(struct avdtp_remote_sep *rsep, GSList **caps)
{
struct avdtp_service_capability *media_transport, *media_codec;
struct sbc_codec_cap sbc_cap, *acp_sbc;
diff --git a/audio/a2dp.h b/audio/a2dp.h
index c69b1e34..cf13de8d 100644
--- a/audio/a2dp.h
+++ b/audio/a2dp.h
@@ -66,8 +66,6 @@ int a2dp_init(DBusConnection *conn, gboolean enable_sink,
gboolean enable_source);
void a2dp_exit(void);
-gboolean a2dp_select_capabilities(struct avdtp_remote_sep *rsep, GSList **caps);
-
int a2dp_source_request_stream(struct avdtp *session, struct device *dev,
gboolean start, a2dp_stream_cb_t cb,
void *user_data);