[Spice-devel] [spice-server 2/2] qxl: Remove duplicate QXLState typedef

Jonathon Jongsma jjongsma at redhat.com
Tue Apr 5 18:24:49 UTC 2016


On Tue, 2016-04-05 at 15:37 +0200, Christophe Fergeau wrote:
> We can directly include spice-qxl.h in red-qxl.h as it already gets it
> indirectly anyway.
> > 
> ---
>  server/red-qxl.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/server/red-qxl.h b/server/red-qxl.h
> index b1ebbe1..c9b6b36 100644
> --- a/server/red-qxl.h
> +++ b/server/red-qxl.h
> @@ -19,8 +19,7 @@
>  #define _H_RED_DISPATCHER
>  
>  #include "red-channel.h"
> -
> -typedef struct QXLState QXLState;
> +#include "spice-qxl.h"
>  
>  typedef struct AsyncCommand AsyncCommand;
>  

Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


More information about the Spice-devel mailing list