[Spice-devel] [PATCH 6/6] enums: typedefy SpiceBitmapFmt
Alon Levy
alevy at redhat.com
Thu Feb 10 10:14:39 PST 2011
---
spice/enums.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/spice/enums.h b/spice/enums.h
index 76fec0c..29f5933 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -142,7 +142,7 @@ enum SpiceImageFlags {
SPICE_IMAGE_FLAGS_MASK = 0x7
};
-enum SpiceBitmapFmt {
+typedef enum SpiceBitmapFmt {
SPICE_BITMAP_FMT_INVALID,
SPICE_BITMAP_FMT_1BIT_LE,
SPICE_BITMAP_FMT_1BIT_BE,
@@ -155,7 +155,7 @@ enum SpiceBitmapFmt {
SPICE_BITMAP_FMT_RGBA,
SPICE_BITMAP_FMT_ENUM_END
-};
+} SpiceBitmapFmt;
enum SpiceBitmapFlags {
SPICE_BITMAP_FLAGS_PAL_CACHE_ME = (1 << 0),
--
1.7.4
More information about the Spice-devel
mailing list