[Spice-commits] server/display-channel.c server/display-channel.h
Frediano Ziglio
fziglio at kemper.freedesktop.org
Thu Nov 26 07:13:50 PST 2015
server/display-channel.c | 6 ++++--
server/display-channel.h | 2 --
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c26a825451293b9c14eb3bea6f618d51db9365d5
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date: Tue Oct 1 17:16:06 2013 +0200
display: remove some public declarations
Acked-by: Fabiano FidĂȘncio <fidencio at redhat.com>
diff --git a/server/display-channel.c b/server/display-channel.c
index 52f5ad0..ffc9cfb 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);
+
static stat_time_t display_channel_stat_now(DisplayChannel *display)
{
#ifdef RED_WORKER_STAT
@@ -1006,7 +1008,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;
@@ -1122,7 +1124,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 0d79463..81c11cd 100644
--- a/server/display-channel.h
+++ b/server/display-channel.h
@@ -449,8 +449,6 @@ void current_remove_drawable(DisplayChannel *display, Drawable *item);
void red_pipes_remove_drawable(Drawable *drawable);
void current_remove(DisplayChannel *display, TreeItem *item);
void detach_streams_behind(DisplayChannel *display, QRegion *region, Drawable *drawable);
-void drawable_draw(DisplayChannel *display, Drawable *item);
void current_remove_all(DisplayChannel *display, int surface_id);
-void drawables_init(DisplayChannel *display);
#endif /* DISPLAY_CHANNEL_H_ */
More information about the Spice-commits
mailing list