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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]