Re: [PATCH] Make some functions static

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

 



On Wed, 15 Jun 2016, Frediano Ziglio wrote:

> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
Acked-by: Francois Gouget <fgouget@xxxxxxxxxxxxxxx>

> ---
>  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@xxxxxxxxxxxxxxx>
_______________________________________________
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]