From: Kay Sievers Date: Sun, 15 Jul 2012 13:53:43 +0000 (+0200) Subject: unit: avoid re-definition of enum for older gcc versions X-Git-Tag: v187~78 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=d0bfe5243aa6fd9ccdd33fe3c9dfa0a08026d1ab;ds=sidebyside unit: avoid re-definition of enum for older gcc versions | ./src/shared/unit-name.h:29:23: error: redefinition of typedef 'UnitType' | ./src/core/unit.h:30:23: note: previous declaration of 'UnitType' was here --- diff --git a/src/core/unit.h b/src/core/unit.h index 9d75e0253..61a85d7be 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;