From: Zbigniew Jędrzejewski-Szmek Date: Thu, 28 Nov 2019 08:14:22 +0000 (+0100) Subject: tree-wide: normalize includes of public headers X-Git-Tag: v245-rc1~320^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e86b24db3c5490b5c05b1ca5e440a2deec25481;p=thirdparty%2Fsystemd.git tree-wide: normalize includes of public headers They are supposed to go into a sectinon of their own. --- diff --git a/src/journal-remote/journal-upload.h b/src/journal-remote/journal-upload.h index 5711905f86f..4994cd8391d 100644 --- a/src/journal-remote/journal-upload.h +++ b/src/journal-remote/journal-upload.h @@ -4,6 +4,7 @@ #include "sd-event.h" #include "sd-journal.h" + #include "time-util.h" typedef enum { diff --git a/src/libsystemd-network/sd-dhcp-server.c b/src/libsystemd-network/sd-dhcp-server.c index 9e51bf74f58..546b5d02c4c 100644 --- a/src/libsystemd-network/sd-dhcp-server.c +++ b/src/libsystemd-network/sd-dhcp-server.c @@ -6,6 +6,7 @@ #include #include "sd-dhcp-server.h" +#include "sd-id128.h" #include "alloc-util.h" #include "dhcp-internal.h" @@ -13,7 +14,6 @@ #include "fd-util.h" #include "in-addr-util.h" #include "io-util.h" -#include "sd-id128.h" #include "siphash24.h" #include "string-util.h" #include "unaligned.h" diff --git a/src/shared/bus-wait-for-jobs.h b/src/shared/bus-wait-for-jobs.h index 8f21eb9cd66..614a2c9de95 100644 --- a/src/shared/bus-wait-for-jobs.h +++ b/src/shared/bus-wait-for-jobs.h @@ -2,6 +2,7 @@ #pragma once #include "sd-bus.h" + #include "macro.h" typedef struct BusWaitForJobs BusWaitForJobs; diff --git a/src/shared/journal-importer.h b/src/shared/journal-importer.h index b2e3c817f5a..783edff5d32 100644 --- a/src/shared/journal-importer.h +++ b/src/shared/journal-importer.h @@ -6,8 +6,9 @@ #include #include -#include "io-util.h" #include "sd-id128.h" + +#include "io-util.h" #include "time-util.h" /* Make sure not to make this smaller than the maximum coredump size. diff --git a/src/sulogin-shell/sulogin-shell.c b/src/sulogin-shell/sulogin-shell.c index 9f90981e718..4cf9d22c87c 100644 --- a/src/sulogin-shell/sulogin-shell.c +++ b/src/sulogin-shell/sulogin-shell.c @@ -6,13 +6,14 @@ #include #include +#include "sd-bus.h" + #include "bus-util.h" #include "bus-error.h" #include "def.h" #include "env-util.h" #include "log.h" #include "process-util.h" -#include "sd-bus.h" #include "signal-util.h" #include "special.h"