unit: avoid re-definition of enum for older gcc versions

<koen> | ./src/shared/unit-name.h:29:23: error: redefinition of typedef 'UnitType'
<koen> | ./src/core/unit.h:30:23: note: previous declaration of 'UnitType' was here
This commit is contained in:
Kay Sievers 2012-07-15 15:53:43 +02:00
parent 216e2aded6
commit d0bfe5243a
1 changed files with 0 additions and 1 deletions

View File

@ -27,7 +27,6 @@
typedef struct Unit Unit;
typedef struct UnitVTable UnitVTable;
typedef enum UnitType UnitType;
typedef enum UnitActiveState UnitActiveState;
typedef enum UnitDependency UnitDependency;
typedef struct UnitRef UnitRef;