[Spice-devel] [PATCH 19/19] display: remove some public declarations
Fabiano Fidêncio
fidencio at redhat.com
Thu Nov 26 02:11:28 PST 2015
On Wed, Nov 25, 2015 at 4:27 PM, Frediano Ziglio <fziglio at redhat.com> wrote:
> From: Marc-André Lureau <marcandre.lureau at gmail.com>
>
> ---
> server/display-channel.c | 6 ++++--
> server/display-channel.h | 3 ---
> 2 files changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/server/display-channel.c b/server/display-channel.c
> index 811799a..fe4dd3e 100644
> --- a/server/display-channel.c
> +++ b/server/display-channel.c
> @@ -20,6 +20,8 @@
>
> #include "display-channel.h"
>
> +static void drawable_draw(DisplayChannel *display, Drawable *drawable);
> +
> uint32_t display_channel_generate_uid(DisplayChannel *display)
> {
> spice_return_val_if_fail(display != NULL, 0);
> @@ -1298,7 +1300,7 @@ static void drawable_free(DisplayChannel *display, Drawable *drawable)
> display->free_drawables = (_Drawable *)drawable;
> }
>
> -void drawables_init(DisplayChannel *display)
> +static void drawables_init(DisplayChannel *display)
> {
> int i;
>
> @@ -1414,7 +1416,7 @@ static void drawable_deps_draw(DisplayChannel *display, Drawable *drawable)
> }
> }
>
> -void drawable_draw(DisplayChannel *display, Drawable *drawable)
> +static void drawable_draw(DisplayChannel *display, Drawable *drawable)
> {
> RedSurface *surface;
> SpiceCanvas *canvas;
> diff --git a/server/display-channel.h b/server/display-channel.h
> index 0e0c1f1..e17381c 100644
> --- a/server/display-channel.h
> +++ b/server/display-channel.h
> @@ -432,7 +432,4 @@ static inline void region_add_clip_rects(QRegion *rgn, SpiceClipRects *data)
> }
> }
>
> -void drawable_draw(DisplayChannel *display, Drawable *item);
> -void drawables_init(DisplayChannel *display);
> -
> #endif /* DISPLAY_CHANNEL_H_ */
> --
> 2.4.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
Acked-by: Fabiano Fidêncio <fidencio at redhat.com>
More information about the Spice-devel
mailing list