[Spice-devel] [spice-server 2/2] qxl: Remove duplicate QXLState typedef
Christophe Fergeau
cfergeau at redhat.com
Tue Apr 5 13:37:59 UTC 2016
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;
--
2.5.5
More information about the Spice-devel
mailing list