silence warnings on older gcc's about incomplete types

SVN revision: 25037
This commit is contained in:
rephorm 2006-08-22 13:38:18 +00:00 committed by rephorm
parent a3c1589605
commit 0d8703417c
1 changed files with 4 additions and 4 deletions

View File

@ -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
{