Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/dcc-encoders.c | 4 ++-- server/dcc-encoders.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/server/dcc-encoders.c b/server/dcc-encoders.c index b403024..6b6b95b 100644 --- a/server/dcc-encoders.c +++ b/server/dcc-encoders.c @@ -519,7 +519,7 @@ static void dcc_free_glz_drawable_instance(EncodersData *enc, * if possible. * NOTE - the caller should prevent encoding using the dictionary during this operation */ -void dcc_free_glz_drawable(EncodersData *enc, RedGlzDrawable *drawable) +static void dcc_free_glz_drawable(EncodersData *enc, RedGlzDrawable *drawable) { RingItem *head_instance = ring_get_head(&drawable->instances); int cont = (head_instance != NULL); @@ -628,7 +628,7 @@ void dcc_glz_detach_from_drawable(struct Drawable *drawable) } } -void dcc_freeze_glz(EncodersData *enc) +static void dcc_freeze_glz(EncodersData *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 adc6272..d104b4d 100644 --- a/server/dcc-encoders.h +++ b/server/dcc-encoders.h @@ -37,12 +37,10 @@ typedef struct EncodersData EncodersData; void dcc_encoders_init(EncodersData *enc); void dcc_encoders_free(EncodersData *enc); -void dcc_free_glz_drawable(EncodersData *enc, RedGlzDrawable *drawable); int dcc_free_some_independent_glz_drawables(EncodersData *enc, int release_count); void dcc_free_glz_drawables(EncodersData *enc); void dcc_free_glz_drawables_to_free(EncodersData* enc); gboolean dcc_glz_encoder_create(EncodersData *enc, uint8_t id); -void dcc_freeze_glz(EncodersData *enc); void dcc_release_glz(EncodersData *enc); void dcc_glz_free_from_drawable(struct Drawable *drawable); void dcc_glz_detach_from_drawable(struct Drawable *drawable); -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel