From d0bfe5243aa6fd9ccdd33fe3c9dfa0a08026d1ab Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 15 Jul 2012 15:53:43 +0200 Subject: [PATCH] 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 --- src/core/unit.h | 1 - 1 file changed, 1 deletion(-) 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; -- 2.30.2