From: Thomas Hindoe Paaboel Andersen Date: Wed, 1 Oct 2014 21:15:34 +0000 (+0200) Subject: Remove repeated includes X-Git-Tag: v217~385 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf4acf84c6304d34108dadd5e87c9a19ca24dceb;p=thirdparty%2Fsystemd.git Remove repeated includes In pty.c there was both an include of our pty.h and the system installed pty.h. The latter contains only two functions openpty and forkpty. We use neither so I assume it was a typo and removed it. We still compile and pass all tests. --- diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c index 6a0fc7edfba..5d58cd2af4d 100644 --- a/src/bus-proxyd/bus-proxyd.c +++ b/src/bus-proxyd/bus-proxyd.c @@ -40,7 +40,6 @@ #include "bus-internal.h" #include "bus-message.h" #include "bus-util.h" -#include "bus-internal.h" #include "build.h" #include "strv.h" #include "def.h" diff --git a/src/bus-proxyd/test-bus-policy.c b/src/bus-proxyd/test-bus-policy.c index 7bcebef905c..5267788b704 100644 --- a/src/bus-proxyd/test-bus-policy.c +++ b/src/bus-proxyd/test-bus-policy.c @@ -36,7 +36,6 @@ #include "bus-internal.h" #include "bus-message.h" #include "bus-util.h" -#include "bus-internal.h" #include "build.h" #include "strv.h" #include "def.h" diff --git a/src/shared/locale-util.c b/src/shared/locale-util.c index d5eaff3d9e1..9addb05f094 100644 --- a/src/shared/locale-util.c +++ b/src/shared/locale-util.c @@ -25,7 +25,6 @@ #include "util.h" #include "utf8.h" #include "strv.h" -#include "util.h" #include "locale-util.h" diff --git a/src/shared/missing.h b/src/shared/missing.h index b441149945e..031fe2d1ce2 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -33,7 +33,6 @@ #include #include #include -#include #ifdef HAVE_AUDIT #include diff --git a/src/shared/pty.c b/src/shared/pty.c index 31123e5af20..adcb32d0be7 100644 --- a/src/shared/pty.c +++ b/src/shared/pty.c @@ -46,7 +46,6 @@ #include #include #include -#include #include #include #include diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c index 43bcaa862fb..6e4cdd694e5 100644 --- a/src/sysv-generator/sysv-generator.c +++ b/src/sysv-generator/sysv-generator.c @@ -31,7 +31,6 @@ #include "path-util.h" #include "path-lookup.h" #include "log.h" -#include "strv.h" #include "unit.h" #include "unit-name.h" #include "special.h"