From: Daan De Meyer Date: Sat, 12 Apr 2025 09:22:52 +0000 (+0200) Subject: basic: Remove list.h include from log.h X-Git-Tag: v258-rc1~780^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a52d26d2b853cbe30affaac7ed113846c58cd20;p=thirdparty%2Fsystemd.git basic: Remove list.h include from log.h --- diff --git a/src/basic/log-context.h b/src/basic/log-context.h index 2c15071f43c..84339695bfa 100644 --- a/src/basic/log-context.h +++ b/src/basic/log-context.h @@ -4,6 +4,7 @@ #include #include +#include "list.h" #include "macro.h" #include "memory-util.h" diff --git a/src/basic/log.c b/src/basic/log.c index c244666f1fc..0c50cde0b41 100644 --- a/src/basic/log.c +++ b/src/basic/log.c @@ -24,6 +24,7 @@ #include "fd-util.h" #include "format-util.h" #include "iovec-util.h" +#include "list.h" #include "log.h" #include "log-context.h" #include "macro.h" diff --git a/src/basic/log.h b/src/basic/log.h index e6b6a4b4fec..f52fb004e7e 100644 --- a/src/basic/log.h +++ b/src/basic/log.h @@ -7,7 +7,6 @@ #include #include -#include "list.h" #include "macro.h" #include "stdio-util.h" diff --git a/src/pcrlock/pcrlock.c b/src/pcrlock/pcrlock.c index bf7437ef141..8e3a38929c1 100644 --- a/src/pcrlock/pcrlock.c +++ b/src/pcrlock/pcrlock.c @@ -32,6 +32,7 @@ #include "hexdecoct.h" #include "initrd-util.h" #include "json-util.h" +#include "list.h" #include "main-func.h" #include "mkdir-label.h" #include "openssl-util.h" diff --git a/src/shutdown/detach-dm.c b/src/shutdown/detach-dm.c index 88e6a47a274..e6b3e808d32 100644 --- a/src/shutdown/detach-dm.c +++ b/src/shutdown/detach-dm.c @@ -15,6 +15,7 @@ #include "devnum-util.h" #include "errno-util.h" #include "fd-util.h" +#include "list.h" #include "shutdown.h" typedef struct DeviceMapper { diff --git a/src/shutdown/detach-loopback.c b/src/shutdown/detach-loopback.c index 25288af2215..aa50299694f 100644 --- a/src/shutdown/detach-loopback.c +++ b/src/shutdown/detach-loopback.c @@ -19,6 +19,7 @@ #include "device-util.h" #include "errno-util.h" #include "fd-util.h" +#include "list.h" #include "shutdown.h" typedef struct LoopbackDevice { diff --git a/src/shutdown/detach-md.c b/src/shutdown/detach-md.c index 8b88d9b870c..be24bc20ba8 100644 --- a/src/shutdown/detach-md.c +++ b/src/shutdown/detach-md.c @@ -17,6 +17,7 @@ #include "devnum-util.h" #include "errno-util.h" #include "fd-util.h" +#include "list.h" #include "shutdown.h" #include "string-util.h" diff --git a/src/shutdown/detach-swap.c b/src/shutdown/detach-swap.c index eafdc4341e1..4c47636fc69 100644 --- a/src/shutdown/detach-swap.c +++ b/src/shutdown/detach-swap.c @@ -9,6 +9,7 @@ #include "detach-swap.h" #include "errno-util.h" #include "libmount-util.h" +#include "list.h" static void swap_device_free(SwapDevice **head, SwapDevice *m) { assert(head); diff --git a/src/udev/udev-manager.h b/src/udev/udev-manager.h index 806adb3ef80..95262651543 100644 --- a/src/udev/udev-manager.h +++ b/src/udev/udev-manager.h @@ -8,6 +8,7 @@ #include "sd-varlink.h" #include "hashmap.h" +#include "list.h" #include "macro.h" #include "time-util.h" #include "udev-config.h"