[systemd-devel] [PATCH] Punt duplicate definition of InhibitWhat

Malte Starostik lists at malte.homeip.net
Sun Jun 3 12:39:21 PDT 2012


From: Malte Starostik <m-starostik at versanet.de>

Trivial fix for:

src/login/logind-inhibit.h:37:3: error: redefinition of typedef
'InhibitWhat'
src/login/logind-inhibit.h:26:26: note: previous declaration of
'InhibitWhat' was here

Signed-off-by: Malte Starostik <m-starostik at versanet.de>
---
 src/login/logind-inhibit.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/login/logind-inhibit.h b/src/login/logind-inhibit.h
index 4377f00..e72536f 100644
--- a/src/login/logind-inhibit.h
+++ b/src/login/logind-inhibit.h
@@ -23,7 +23,6 @@
 ***/
 
 typedef struct Inhibitor Inhibitor;
-typedef enum InhibitWhat InhibitWhat;
 
 #include "list.h"
 #include "util.h"
-- 
1.7.3.4



More information about the systemd-devel mailing list