[Spice-devel] [PATCH spice-server] display-channel: Remove some useless function declaration

Frediano Ziglio fziglio at redhat.com
Thu Jun 27 09:05:27 UTC 2019


"image_surfaces_get" and "drawables_init" are already defined
in the same file earlier.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/display-channel.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/server/display-channel.c b/server/display-channel.c
index f99fd8faf..4677c2619 100644
--- a/server/display-channel.c
+++ b/server/display-channel.c
@@ -2263,8 +2263,6 @@ DisplayChannel* display_channel_new(RedsState *reds,
     return display;
 }
 
-static SpiceCanvas *image_surfaces_get(SpiceImageSurfaces *surfaces, uint32_t surface_id);
-static void drawables_init(DisplayChannel *display);
 static void
 display_channel_init(DisplayChannel *self)
 {
-- 
2.20.1



More information about the Spice-devel mailing list