[Spice-commits] server/dcc-encoders.c server/dcc-encoders.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Jun 15 08:07:46 UTC 2016


 server/dcc-encoders.c |    2 +-
 server/dcc-encoders.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit afbad7231e1391e12693d760a0516159a255414c
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Jun 15 09:03:43 2016 +0100

    Make image_encoders_freeze_glz() static
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/server/dcc-encoders.c b/server/dcc-encoders.c
index 1deb7e7..3944c32 100644
--- a/server/dcc-encoders.c
+++ b/server/dcc-encoders.c
@@ -578,7 +578,7 @@ void image_encoders_free_glz_drawables(ImageEncoders *enc)
     pthread_rwlock_unlock(&glz_dict->encode_lock);
 }
 
-void image_encoders_freeze_glz(ImageEncoders *enc)
+static void image_encoders_freeze_glz(ImageEncoders *enc)
 {
     pthread_rwlock_wrlock(&enc->glz_dict->encode_lock);
     enc->glz_dict->migrate_freeze = TRUE;
diff --git a/server/dcc-encoders.h b/server/dcc-encoders.h
index 26f1afd..abc2ccc 100644
--- a/server/dcc-encoders.h
+++ b/server/dcc-encoders.h
@@ -48,7 +48,6 @@ 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);
 gboolean image_encoders_glz_create(ImageEncoders *enc, uint8_t id);
-void image_encoders_freeze_glz(ImageEncoders *enc);
 void image_encoders_glz_get_restore_data(ImageEncoders *enc,
                                          uint8_t *out_id, GlzEncDictRestoreData *out_data);
 


More information about the Spice-commits mailing list