diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-11-05 17:29:43 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-11-08 13:41:13 +0100 |
commit | baa6a42d276d3c6bcc3b6c130f1395c0119656f6 (patch) | |
tree | c8e8c3a944fe719ada539ccb5cc3666859d40b2f /src/core/main.c | |
parent | b61b95ae9e5c6fe9f34fcadb63175631c36d8e17 (diff) | |
download | systemd-baa6a42d276d3c6bcc3b6c130f1395c0119656f6.tar.gz |
basic: create new basic/initrd-util.[ch] for initrd-related functions
I changed imports of util.h to initrd-util.h, or added an import of
initrd-util.h, to keep compilation working. It turns out that many files didn't
import util.h directly.
When viewing the patch, don't be confused by git rename detection logic:
a new .c file is added and two functions moved into it.
Diffstat (limited to 'src/core/main.c')
-rw-r--r-- | src/core/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c index 14a4f81452..672345368c 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -52,6 +52,7 @@ #include "hostname-setup.h" #include "ima-setup.h" #include "import-creds.h" +#include "initrd-util.h" #include "killall.h" #include "kmod-setup.h" #include "limits-util.h" @@ -92,7 +93,6 @@ #include "time-util.h" #include "umask-util.h" #include "user-util.h" -#include "util.h" #include "virt.h" #include "watchdog.h" |