[Spice-devel] [PATCH spice-gtk] Do not include unused common/ring.h header

Christophe Fergeau cfergeau at redhat.com
Thu Dec 20 17:04:47 UTC 2018


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Thu, Dec 20, 2018 at 04:00:30PM +0000, Frediano Ziglio wrote:
> Commit 4398554be49b removed last usage of Ring/RingItem structures,
> there's no need to include the header anymore.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  src/channel-display-priv.h | 1 -
>  src/spice-channel-cache.h  | 1 -
>  src/spice-session.c        | 1 -
>  3 files changed, 3 deletions(-)
> 
> diff --git a/src/channel-display-priv.h b/src/channel-display-priv.h
> index 8d9ff8d3..72ad90ff 100644
> --- a/src/channel-display-priv.h
> +++ b/src/channel-display-priv.h
> @@ -28,7 +28,6 @@
>  
>  #include "common/canvas_utils.h"
>  #include "client_sw_canvas.h"
> -#include "common/ring.h"
>  #include "common/quic.h"
>  #include "common/rop3.h"
>  
> diff --git a/src/spice-channel-cache.h b/src/spice-channel-cache.h
> index e6e01e11..365fae60 100644
> --- a/src/spice-channel-cache.h
> +++ b/src/spice-channel-cache.h
> @@ -19,7 +19,6 @@
>  # define SPICE_CHANNEL_CACHE_H_
>  
>  #include "common/mem.h"
> -#include "common/ring.h"
>  
>  G_BEGIN_DECLS
>  
> diff --git a/src/spice-session.c b/src/spice-session.c
> index 7ea1c21b..a2ed4019 100644
> --- a/src/spice-session.c
> +++ b/src/spice-session.c
> @@ -22,7 +22,6 @@
>  #ifdef G_OS_UNIX
>  #include <gio/gunixsocketaddress.h>
>  #endif
> -#include "common/ring.h"
>  
>  #include "spice-client.h"
>  #include "spice-common.h"
> -- 
> 2.17.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20181220/18c50a23/attachment.sig>


More information about the Spice-devel mailing list