Hi, On Thu, Mar 24, 2016 at 08:53:02AM +0000, Frediano Ziglio wrote: > No need to have callback registered internally no static Acked-by: Victor Toso <victortoso@xxxxxxxxxx> > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> > --- > server/smartcard.c | 4 ++-- > server/spicevmc.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/server/smartcard.c b/server/smartcard.c > index c63fea3..e933c38 100644 > --- a/server/smartcard.c > +++ b/server/smartcard.c > @@ -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); > diff --git a/server/spicevmc.c b/server/spicevmc.c > index f745fdb..367132c 100644 > --- a/server/spicevmc.c > +++ b/server/spicevmc.c > @@ -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); > } > -- > 2.5.5 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/spice-devel _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel