[PATCH 3/9] qxl_surface: move to using struct to avoid ordering issues with typedef.

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

 



Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>
---
 src/qxl_surface.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/qxl_surface.h b/src/qxl_surface.h
index 450a563..e57d282 100644
--- a/src/qxl_surface.h
+++ b/src/qxl_surface.h
@@ -18,8 +18,8 @@ struct qxl_surface_t
     void *		address;
     void *		end;
     
-    qxl_surface_t *	next;
-    qxl_surface_t *	prev;	/* Only used in the 'live'
+    struct qxl_surface_t *	next;
+    struct qxl_surface_t *	prev;	/* Only used in the 'live'
 				 * chain in the surface cache
 				 */
 
@@ -33,7 +33,7 @@ struct qxl_surface_t
 
     union
     {
-	qxl_surface_t *copy_src;
+	struct qxl_surface_t *copy_src;
 	Pixel	       solid_pixel;
 
 	struct
@@ -42,9 +42,9 @@ struct qxl_surface_t
 	    PicturePtr		src_picture;
 	    PicturePtr		mask_picture;
 	    PicturePtr		dest_picture;
-	    qxl_surface_t	*src;
-	    qxl_surface_t	*mask;
-	    qxl_surface_t	*dest;
+	    struct qxl_surface_t	*src;
+	    struct qxl_surface_t	*mask;
+	    struct qxl_surface_t	*dest;
 	} composite;
     } u;
 };
-- 
1.8.1.2

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://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]