chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216e2ad
)
unit: avoid re-definition of enum for older gcc versions
author
Kay Sievers
<kay@vrfy.org>
Sun, 15 Jul 2012 13:53:43 +0000
(15:53 +0200)
committer
Kay Sievers
<kay@vrfy.org>
Sun, 15 Jul 2012 13:53:43 +0000
(15:53 +0200)
<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
src/core/unit.h
patch
|
blob
|
history
diff --git
a/src/core/unit.h
b/src/core/unit.h
index 9d75e02532a40776b8b0374e2a551edf398855ee..61a85d7bee9ade6cd1f1c077898ed7707b62dd9a 100644
(file)
--- 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;