diff options
| author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-05-14 22:16:16 +0000 | 
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-05-14 22:16:16 +0000 | 
| commit | 0094809955895c974fbe95f2d3ed13f420a6a6ed (patch) | |
| tree | 0d45dff5770f69036e96539403bfd6e8bcfe7bb5 /audio/device.c | |
| parent | 2ce4523624b67b48da037beceffe5710144850ec (diff) | |
Make bt_io_callback_t to take both source and destination.
Diffstat (limited to 'audio/device.c')
| -rw-r--r-- | audio/device.c | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/device.c b/audio/device.c index b240bdae..120d45f3 100644 --- a/audio/device.c +++ b/audio/device.c @@ -72,7 +72,8 @@ static DBusHandlerResult device_get_address(DBusConnection *conn,  	return send_message_and_unref(conn, reply);  } -static char *get_dev_name(DBusConnection *conn, bdaddr_t *src, bdaddr_t *bda) +static char *get_dev_name(DBusConnection *conn, const bdaddr_t *src, +			const bdaddr_t *bda)  {  	char address[18], filename[PATH_MAX + 1]; @@ -191,7 +192,7 @@ static void device_unregister(DBusConnection *conn, void *data)  }  struct device *device_register(DBusConnection *conn, -					const char *path, bdaddr_t *bda) +					const char *path, const bdaddr_t *bda)  {  	struct device *dev;  	bdaddr_t src;  | 
