[systemd-commits] src/core
Kay Sievers
kay at kemper.freedesktop.org
Sun Jul 15 06:54:35 PDT 2012
src/core/unit.h | 1 -
1 file changed, 1 deletion(-)
New commits:
commit d0bfe5243aa6fd9ccdd33fe3c9dfa0a08026d1ab
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Jul 15 15:53:43 2012 +0200
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
diff --git a/src/core/unit.h b/src/core/unit.h
index 9d75e02..61a85d7 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;
More information about the systemd-commits
mailing list