spa: bluez: mark dbus vtables static

This commit is contained in:
Barnabás Pőcze 2025-11-03 22:33:59 +01:00 committed by Wim Taymans
parent 3337af64ca
commit 963d10f1ac
3 changed files with 7 additions and 6 deletions

View file

@ -1150,7 +1150,7 @@ int telephony_ag_register(struct spa_bt_telephony_ag *ag)
struct impl *impl = SPA_CONTAINER_OF(agimpl->this.telephony, struct impl, this);
char *path;
const DBusObjectPathVTable vtable = {
static const DBusObjectPathVTable vtable = {
.message_function = ag_handler,
};
@ -1648,7 +1648,7 @@ int telephony_call_register(struct spa_bt_telephony_call *call)
struct impl *impl = SPA_CONTAINER_OF(agimpl->this.telephony, struct impl, this);
char *path;
const DBusObjectPathVTable vtable = {
static const DBusObjectPathVTable vtable = {
.message_function = call_handler,
};