From 933540861383da27402680593edefe8d61e6fb02 Mon Sep 17 00:00:00 2001 From: Egor Starkov Date: Fri, 12 Mar 2010 09:47:59 -0500 Subject: Eliminate trailing comma in enum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- pixman/pixman.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3