[Spice-devel] [PATCH 4/6] qxl_dev.h: make QXLBitmapFlags a typedef

Alon Levy alevy at redhat.com
Thu Feb 10 10:14:37 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 ab12c07..0bdbe55 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -579,11 +579,11 @@ typedef enum QXLImageFlags {
     QXL_IMAGE_HIGH_BITS_SET = (1 << 1),
 } QXLImageFlags;
 
-enum {
+typedef enum QXLBitmapFlags {
     QXL_BITMAP_DIRECT = (1 << 0),
     QXL_BITMAP_UNSTABLE = (1 << 1),
     QXL_BITMAP_TOP_DOWN = (1 << 2), // == SPICE_BITMAP_FLAGS_TOP_DOWN
-};
+} QXLBitmapFlags;
 
 #define QXL_SET_IMAGE_ID(image, _group, _unique) {              \
     (image)->descriptor.id = (((uint64_t)_unique) << 32) | _group;	\
-- 
1.7.4



More information about the Spice-devel mailing list