diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-15 15:53:43 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-07-15 15:53:43 +0200 |
commit | d0bfe5243aa6fd9ccdd33fe3c9dfa0a08026d1ab (patch) | |
tree | ca41d125e5ecc48804b538db1319bfb2c0c3470a /src | |
parent | 216e2aded651d7861ba07b46b158134ba7f01553 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/unit.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/unit.h b/src/core/unit.h index 9d75e02532..61a85d7bee 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -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; |