bluetooth: Remove const qualifier for transports

The internal API in bluetooth-util should not use the const qualifier
for operations modifying the transport object. This is specially useful
in order to use the available hooks.
This commit is contained in:
Mikel Astiz 2012-10-19 10:11:24 +02:00 committed by Tanu Kaskinen
parent e68712acb4
commit 640038cc28
3 changed files with 9 additions and 9 deletions

View file

@ -968,7 +968,7 @@ pa_bluetooth_transport* pa_bluetooth_discovery_get_transport(pa_bluetooth_discov
return NULL;
}
const pa_bluetooth_transport* pa_bluetooth_device_get_transport(const pa_bluetooth_device *d, enum profile profile) {
pa_bluetooth_transport* pa_bluetooth_device_get_transport(const pa_bluetooth_device *d, enum profile profile) {
pa_bluetooth_transport *t;
void *state = NULL;
@ -981,7 +981,7 @@ const pa_bluetooth_transport* pa_bluetooth_device_get_transport(const pa_bluetoo
return NULL;
}
int pa_bluetooth_transport_acquire(const pa_bluetooth_transport *t, const char *accesstype, size_t *imtu, size_t *omtu) {
int pa_bluetooth_transport_acquire(pa_bluetooth_transport *t, const char *accesstype, size_t *imtu, size_t *omtu) {
DBusMessage *m, *r;
DBusError err;
int ret;
@ -1019,7 +1019,7 @@ fail:
return ret;
}
void pa_bluetooth_transport_release(const pa_bluetooth_transport *t, const char *accesstype) {
void pa_bluetooth_transport_release(pa_bluetooth_transport *t, const char *accesstype) {
DBusMessage *m;
DBusError err;