[Spice-commits] server/display-channel.c server/display-channel.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Feb 29 09:09:27 UTC 2020


 server/display-channel.c |    2 +-
 server/display-channel.h |    2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 2e1da8486d7fd7b1402a462303cea1bcc4130a7a
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Dec 19 19:29:49 2019 +0000

    display-channel: Make display_channel_update_compression static
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/server/display-channel.c b/server/display-channel.c
index 71a9d9a9..d212d803 100644
--- a/server/display-channel.c
+++ b/server/display-channel.c
@@ -2372,7 +2372,7 @@ void display_channel_process_surface_cmd(DisplayChannel *display,
     };
 }
 
-void display_channel_update_compression(DisplayChannel *display, DisplayChannelClient *dcc)
+static void display_channel_update_compression(DisplayChannel *display, DisplayChannelClient *dcc)
 {
     if (dcc_get_jpeg_state(dcc) == SPICE_WAN_COMPRESSION_AUTO) {
         display->priv->enable_jpeg = dcc_is_low_bandwidth(dcc);
diff --git a/server/display-channel.h b/server/display-channel.h
index 6af9e129..2e0c1140 100644
--- a/server/display-channel.h
+++ b/server/display-channel.h
@@ -140,8 +140,6 @@ void                       display_channel_process_draw              (DisplayCha
 void                       display_channel_process_surface_cmd       (DisplayChannel *display,
                                                                       RedSurfaceCmd *surface_cmd,
                                                                       int loadvm);
-void                       display_channel_update_compression        (DisplayChannel *display,
-                                                                      DisplayChannelClient *dcc);
 void                       display_channel_gl_scanout                (DisplayChannel *display);
 void                       display_channel_gl_draw                   (DisplayChannel *display,
                                                                       SpiceMsgDisplayGlDraw *draw);


More information about the Spice-commits mailing list