[Spice-devel] [PATCH 3/6] qxl_dev.h: make QXLSurfaceCmdType a typedef

Alon Levy alevy at redhat.com
Thu Feb 10 10:14:36 PST 2011


---
 spice/qxl_dev.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 2b2bb56..ab12c07 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -511,10 +511,10 @@ typedef struct SPICE_ATTR_PACKED QXLDrawable {
     } u;
 } QXLDrawable;
 
-enum QXLSurfaceCmdType {
+typedef enum QXLSurfaceCmdType {
     QXL_SURFACE_CMD_CREATE,
     QXL_SURFACE_CMD_DESTROY,
-};
+} QXLSurfaceCmdType;
 
 typedef struct SPICE_ATTR_PACKED QXLSurface {
     uint32_t format;
-- 
1.7.4



More information about the Spice-devel mailing list