[Spice-devel] [PATCH 2/6] qxl_dev.h: name QXL_IMAGE_* flags as type and enum QXLImageFlags

Alon Levy alevy at redhat.com
Thu Feb 10 10:14:35 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 354008d..2b2bb56 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -574,10 +574,10 @@ typedef union {
   uint64_t value;
 } QXLImageIDUnion;
 
-enum {
+typedef enum QXLImageFlags {
     QXL_IMAGE_CACHE = (1 << 0),
     QXL_IMAGE_HIGH_BITS_SET = (1 << 1),
-};
+} QXLImageFlags;
 
 enum {
     QXL_BITMAP_DIRECT = (1 << 0),
-- 
1.7.4



More information about the Spice-devel mailing list