android: Fix non-ANSI function declaration

This commit is contained in:
Luiz Augusto von Dentz 2014-07-01 14:54:32 +03:00
parent 697110ce07
commit 348b5af247
4 changed files with 6 additions and 6 deletions

View File

@ -415,7 +415,7 @@ static struct gatt_device *find_device_by_addr(const bdaddr_t *addr)
return queue_find(gatt_devices, match_device_by_bdaddr, addr);
}
static struct gatt_device *find_pending_device()
static struct gatt_device *find_pending_device(void)
{
return queue_find(gatt_devices, match_pending_device, NULL);
}

View File

@ -118,7 +118,7 @@ static bt_status_t init(btav_callbacks_t *callbacks)
return ret;
}
static void cleanup()
static void cleanup(void)
{
struct hal_cmd_unregister_module cmd;
@ -145,7 +145,7 @@ static btav_interface_t iface = {
.cleanup = cleanup
};
btav_interface_t *bt_get_a2dp_interface()
btav_interface_t *bt_get_a2dp_interface(void)
{
return &iface;
}

View File

@ -645,7 +645,7 @@ static bt_status_t set_volume(uint8_t volume)
sizeof(cmd), &cmd, NULL, NULL, NULL);
}
static void cleanup()
static void cleanup(void)
{
struct hal_cmd_unregister_module cmd;
@ -680,7 +680,7 @@ static btrc_interface_t iface = {
.cleanup = cleanup
};
btrc_interface_t *bt_get_avrcp_interface()
btrc_interface_t *bt_get_avrcp_interface(void)
{
return &iface;
}

View File

@ -196,7 +196,7 @@ static btpan_interface_t pan_if = {
.cleanup = pan_cleanup
};
btpan_interface_t *bt_get_pan_interface()
btpan_interface_t *bt_get_pan_interface(void)
{
return &pan_if;
}