[Spice-devel] [PATCH] Make some functions static

Francois Gouget fgouget at codeweavers.com
Thu Jun 16 12:26:23 UTC 2016


On Wed, 15 Jun 2016, Frediano Ziglio wrote:

> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Francois Gouget <fgouget at codeweavers.com>

> ---
>  server/red-worker.c | 2 +-
>  server/stream.c     | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/server/red-worker.c b/server/red-worker.c
> index b38d7c7..f8b1913 100644
> --- a/server/red-worker.c
> +++ b/server/red-worker.c
> @@ -1059,7 +1059,7 @@ static void handle_dev_set_streaming_video(void *opaque, void *payload)
>      display_channel_set_stream_video(worker->display_channel, msg->streaming_video);
>  }
>  
> -void handle_dev_set_video_codecs(void *opaque, void *payload)
> +static void handle_dev_set_video_codecs(void *opaque, void *payload)
>  {
>      RedWorkerMessageSetVideoCodecs *msg = payload;
>      RedWorker *worker = opaque;
> diff --git a/server/stream.c b/server/stream.c
> index 8a137a1..a844ce3 100644
> --- a/server/stream.c
> +++ b/server/stream.c
> @@ -706,13 +706,13 @@ static void update_client_playback_delay(void *opaque, uint32_t delay_ms)
>                                          agent->dcc->streams_max_latency);
>  }
>  
> -void bitmap_ref(gpointer data)
> +static void bitmap_ref(gpointer data)
>  {
>      RedDrawable *red_drawable = (RedDrawable*)data;
>      red_drawable_ref(red_drawable);
>  }
>  
> -void bitmap_unref(gpointer data)
> +static void bitmap_unref(gpointer data)
>  {
>      RedDrawable *red_drawable = (RedDrawable*)data;
>      red_drawable_unref(red_drawable);


-- 
Francois Gouget <fgouget at codeweavers.com>


More information about the Spice-devel mailing list