fix some enum decls

devs/discomfitor/eo
Mike Blumenkrantz 9 years ago
parent 698a737eab
commit 043a3c17e0
  1. 5
      src/bin/e_color.h
  2. 5
      src/bin/e_sys.h

@ -1,9 +1,8 @@
#ifdef E_TYPEDEFS
typedef enum _E_Color_Component E_Color_Component;
typedef struct _E_Color E_Color;
enum _E_Color_Component
typedef enum E_Color_Component
{
E_COLOR_COMPONENT_R,
E_COLOR_COMPONENT_G,
@ -12,7 +11,7 @@ enum _E_Color_Component
E_COLOR_COMPONENT_S,
E_COLOR_COMPONENT_V,
E_COLOR_COMPONENT_MAX
};
} E_Color_Component;
#else
#ifndef E_COLOR_HEADER

@ -1,9 +1,8 @@
#ifdef E_TYPEDEFS
typedef struct _E_Sys_Con_Action E_Sys_Con_Action;
typedef enum _E_Sys_Action E_Sys_Action;
enum _E_Sys_Action
typedef enum _E_Sys_Action
{
E_SYS_NONE,
E_SYS_EXIT,
@ -15,7 +14,7 @@ enum _E_Sys_Action
E_SYS_REBOOT,
E_SYS_SUSPEND,
E_SYS_HIBERNATE
};
} E_Sys_Action;
struct _E_Sys_Con_Action
{

Loading…
Cancel
Save