summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-07-15 15:53:43 +0200
committerKay Sievers <kay@vrfy.org>2012-07-15 15:53:43 +0200
commitd0bfe5243aa6fd9ccdd33fe3c9dfa0a08026d1ab (patch)
treeca41d125e5ecc48804b538db1319bfb2c0c3470a /src/core/unit.h
parent216e2aded651d7861ba07b46b158134ba7f01553 (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/core/unit.h')
-rw-r--r--src/core/unit.h1
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;