[PATCH 19/19] display: remove some public declarations

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

 



From: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>

---
 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@xxxxxxxxxxxxxxxxxxxxx
http://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]