summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Starkov <starkov.egor@gmail.com>2010-03-12 09:47:59 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2010-03-12 10:50:18 -0500
commit933540861383da27402680593edefe8d61e6fb02 (patch)
tree5f5480f86bda3b19d7cc3961780a834e453abea1
parent84b009ae9f128c838d0e046e07947f8f9b2ce879 (diff)
Eliminate trailing comma in enum
https://bugs.freedesktop.org/show_bug.cgi?id=27050 Pixman is not compiling with c++ compiler. During compilation it gives the following error: /usr/include/pixman-1/pixman.h:335: error: comma at end of enumerator list Signed-off-by: Søren Sandmann Pedersen <ssp@redhat.com>
-rw-r--r--pixman/pixman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pixman/pixman.h b/pixman/pixman.h
index 69af0f9..23feb2f 100644
--- a/pixman/pixman.h
+++ b/pixman/pixman.h
@@ -343,9 +343,10 @@ typedef enum
PIXMAN_OP_HSL_HUE = 0x3b,
PIXMAN_OP_HSL_SATURATION = 0x3c,
PIXMAN_OP_HSL_COLOR = 0x3d,
- PIXMAN_OP_HSL_LUMINOSITY = 0x3e,
+ PIXMAN_OP_HSL_LUMINOSITY = 0x3e
#ifdef PIXMAN_USE_INTERNAL_API
+ ,
PIXMAN_N_OPERATORS,
PIXMAN_OP_NONE = PIXMAN_N_OPERATORS
#endif