mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-08 16:48:06 +00:00
make some functions static
No need to have callback registered internally no static Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
f34779dc9c
commit
6aaca6cf24
@ -132,8 +132,8 @@ static void smartcard_read_buf_prepare(SmartCardDeviceState *state, VSCMsgHeader
|
||||
}
|
||||
}
|
||||
|
||||
SpiceCharDeviceMsgToClient *smartcard_read_msg_from_device(SpiceCharDeviceInstance *sin,
|
||||
void *opaque)
|
||||
static SpiceCharDeviceMsgToClient *smartcard_read_msg_from_device(SpiceCharDeviceInstance *sin,
|
||||
void *opaque)
|
||||
{
|
||||
SmartCardDeviceState *state = opaque;
|
||||
SpiceCharDeviceInterface *sif = spice_char_device_get_interface(sin);
|
||||
|
||||
@ -92,8 +92,8 @@ static void spicevmc_pipe_item_unref(SpiceVmcPipeItem *item)
|
||||
}
|
||||
}
|
||||
|
||||
SpiceCharDeviceMsgToClient *spicevmc_chardev_ref_msg_to_client(SpiceCharDeviceMsgToClient *msg,
|
||||
void *opaque)
|
||||
static SpiceCharDeviceMsgToClient *spicevmc_chardev_ref_msg_to_client(SpiceCharDeviceMsgToClient *msg,
|
||||
void *opaque)
|
||||
{
|
||||
return spicevmc_pipe_item_ref((SpiceVmcPipeItem *)msg);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user