[Spice-devel] [PATCH 2/8] Make spice_server_char_device_recognized_subtypes_list static

Jonathon Jongsma jjongsma at redhat.com
Tue Jun 21 21:12:34 UTC 2016


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


On Mon, 2016-06-20 at 10:15 +0100, Frediano Ziglio wrote:
> Not used outside the compile unit.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/reds.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/reds.c b/server/reds.c
> index 28ab90a..b2438f6 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -3150,7 +3150,7 @@ SPICE_GNUC_VISIBLE void
> spice_server_char_device_wakeup(SpiceCharDeviceInstance*
>  #define SUBTYPE_USBREDIR "usbredir"
>  #define SUBTYPE_PORT "port"
>  
> -const char *spice_server_char_device_recognized_subtypes_list[] = {
> +static const char *spice_server_char_device_recognized_subtypes_list[] = {
>      SUBTYPE_VDAGENT,
>  #ifdef USE_SMARTCARD
>      SUBTYPE_SMARTCARD,


More information about the Spice-devel mailing list