[Spice-devel] [PATCH] reduce header dependencies

Christophe Fergeau cfergeau at redhat.com
Fri Mar 4 13:41:45 UTC 2016


ACK series.


On Fri, Mar 04, 2016 at 01:35:06PM +0000, Frediano Ziglio wrote:
> Avoid to include headers in cursor-channel.h which are only
> used by cursor-channel.c
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/cursor-channel.c | 1 +
>  server/cursor-channel.h | 2 --
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/server/cursor-channel.c b/server/cursor-channel.c
> index 3e3c7a7..268e34f 100644
> --- a/server/cursor-channel.c
> +++ b/server/cursor-channel.c
> @@ -22,6 +22,7 @@
>  #include <glib.h>
>  #include "common/generated_server_marshallers.h"
>  #include "cursor-channel.h"
> +#include "cache-item.h"
>  
>  #define CLIENT_CURSOR_CACHE_SIZE 256
>  
> diff --git a/server/cursor-channel.h b/server/cursor-channel.h
> index 967a117..4dad4b6 100644
> --- a/server/cursor-channel.h
> +++ b/server/cursor-channel.h
> @@ -22,8 +22,6 @@
>  #include "reds.h"
>  #include "red-worker.h"
>  #include "red-parse-qxl.h"
> -#include "cache-item.h"
> -#include "stat.h"
>  
>  typedef struct CursorChannel CursorChannel;
>  typedef struct CursorChannelClient CursorChannelClient;
> -- 
> 2.5.0
> 
> _______________________________________________
> 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: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160304/b79f84e5/attachment.sig>


More information about the Spice-devel mailing list