From 0d8703417ce81f7e2f4e8fb01376f9cfcda06882 Mon Sep 17 00:00:00 2001 From: rephorm Date: Tue, 22 Aug 2006 13:38:18 +0000 Subject: [PATCH] silence warnings on older gcc's about incomplete types SVN revision: 25037 --- src/bin/e_color.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/e_color.h b/src/bin/e_color.h index 1cbb582ff..a01aca380 100644 --- a/src/bin/e_color.h +++ b/src/bin/e_color.h @@ -6,10 +6,6 @@ typedef enum _E_Color_Component E_Color_Component; typedef struct _E_Color E_Color; -#else -#ifndef E_COLOR_HEADER -#define E_COLOR_HEADER - enum _E_Color_Component { E_COLOR_COMPONENT_R, @@ -21,6 +17,10 @@ enum _E_Color_Component E_COLOR_COMPONENT_MAX }; +#else +#ifndef E_COLOR_HEADER +#define E_COLOR_HEADER + // used so that a single color struct can be shared by all elements of the color dialog struct _E_Color {