[Spice-devel] [PATCH spice-server] dcc: Make dcc_stop static

Uri Lublin uril at redhat.com
Thu Sep 7 11:00:04 UTC 2017


On 09/07/2017 12:17 PM, Frediano Ziglio wrote:
> Just used by dcc_on_disconnect.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>

Acked-by: Uri Lublin <uril at redhat.com>

> ---
>   server/dcc.c | 2 +-
>   server/dcc.h | 1 -
>   2 files changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/server/dcc.c b/server/dcc.c
> index 3fb598ff9..1e0ba790f 100644
> --- a/server/dcc.c
> +++ b/server/dcc.c
> @@ -611,7 +611,7 @@ static void dcc_destroy_stream_agents(DisplayChannelClient *dcc)
>       }
>   }
>   
> -void dcc_stop(DisplayChannelClient *dcc)
> +static void dcc_stop(DisplayChannelClient *dcc)
>   {
>       DisplayChannel *dc = DCC_TO_DC(dcc);
>   
> diff --git a/server/dcc.h b/server/dcc.h
> index e34e83631..e0cfaecfa 100644
> --- a/server/dcc.h
> +++ b/server/dcc.h
> @@ -138,7 +138,6 @@ DisplayChannelClient*      dcc_new                                   (DisplayCha
>                                                                         spice_wan_compression_t jpeg_state,
>                                                                         spice_wan_compression_t zlib_glz_state);
>   void                       dcc_start                                 (DisplayChannelClient *dcc);
> -void                       dcc_stop                                  (DisplayChannelClient *dcc);
>   bool                       dcc_handle_message                        (RedChannelClient *rcc,
>                                                                         uint16_t type,
>                                                                         uint32_t size, void *msg);


More information about the Spice-devel mailing list