mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-23 12:14:26 +08:00
android: Fix non-ANSI function declaration
This commit is contained in:
parent
697110ce07
commit
348b5af247
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user