[Spice-devel] [PATCH v5 2/9] Make red_glz_drawable_free() static

Frediano Ziglio fziglio at redhat.com
Wed Jun 15 09:37:52 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
---
 server/dcc-encoders.c | 2 +-
 server/dcc-encoders.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/server/dcc-encoders.c b/server/dcc-encoders.c
index 2fa5f1b..098a397 100644
--- a/server/dcc-encoders.c
+++ b/server/dcc-encoders.c
@@ -520,7 +520,7 @@ static void glz_drawable_instance_item_free(GlzDrawableInstanceItem *instance)
  * if possible.
  * NOTE - the caller should prevent encoding using the dictionary during this operation
  */
-void red_glz_drawable_free(RedGlzDrawable *glz_drawable)
+static void red_glz_drawable_free(RedGlzDrawable *glz_drawable)
 {
     ImageEncoders *enc = glz_drawable->encoders;
     RingItem *head_instance = ring_get_head(&glz_drawable->instances);
diff --git a/server/dcc-encoders.h b/server/dcc-encoders.h
index ad0a7ca..e307383 100644
--- a/server/dcc-encoders.h
+++ b/server/dcc-encoders.h
@@ -42,7 +42,6 @@ void image_encoder_shared_stat_print(const ImageEncoderSharedData *shared_data);
 
 void image_encoders_init(ImageEncoders *enc, ImageEncoderSharedData *shared_data);
 void image_encoders_free(ImageEncoders *enc);
-void red_glz_drawable_free(RedGlzDrawable *drawable);
 int image_encoders_free_some_independent_glz_drawables(ImageEncoders *enc);
 void image_encoders_free_glz_drawables(ImageEncoders *enc);
 void image_encoders_free_glz_drawables_to_free(ImageEncoders* enc);
-- 
2.7.4



More information about the Spice-devel mailing list