From: Thomas Hindoe Paaboel Andersen Date: Thu, 5 Dec 2013 21:34:01 +0000 (+0100) Subject: execute.h: remove redefinition of Unit X-Git-Tag: v209~1110 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a809021a9c330236d520eb329cfb4d52a401e8a0;hp=8edb59a98b8571ffb25a7aaedeaca30f38d5ba0b execute.h: remove redefinition of Unit Unit is typedef'ed in both unit.h and execute.h. The typedef existed first in unit.h and was later added to execute.h in c17ec25e4d9bd6c8e8617416f813e25b2ebbafc5 It is no longer needed so let's just keep the one in unit.h to avoid redefining it. --- diff --git a/src/core/execute.h b/src/core/execute.h index 5143fcaa5..bd3db0b63 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -38,8 +38,6 @@ typedef struct ExecRuntime ExecRuntime; #include "util.h" #include "fdset.h" -typedef struct Unit Unit; - typedef enum ExecInput { EXEC_INPUT_NULL, EXEC_INPUT_TTY,