mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user