Re: [PATCH 5/5] make some functions static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]