diff options
-rw-r--r-- | src/analyze/analyze.c | 1 | ||||
-rw-r--r-- | src/basic/build.h | 2 | ||||
-rw-r--r-- | src/core/dbus-manager.c | 1 | ||||
-rw-r--r-- | src/core/main.c | 1 | ||||
-rw-r--r-- | src/core/manager-dump.c | 1 | ||||
-rw-r--r-- | src/fundamental/sbat.h | 2 | ||||
-rw-r--r-- | src/stdio-bridge/stdio-bridge.c | 1 | ||||
-rw-r--r-- | src/test/test-cgroup-setup.c | 1 | ||||
-rw-r--r-- | src/test/test-cgroup-util.c | 1 |
9 files changed, 3 insertions, 8 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index eb5fceba8d..b7c852a08c 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -86,7 +86,6 @@ #include "unit-name.h" #include "verb-log-control.h" #include "verbs.h" -#include "version.h" DotMode arg_dot = DEP_ALL; char **arg_dot_from_patterns = NULL, **arg_dot_to_patterns = NULL; diff --git a/src/basic/build.h b/src/basic/build.h index 27d44111d4..5b7c83cad9 100644 --- a/src/basic/build.h +++ b/src/basic/build.h @@ -1,8 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -#include "version.h" - extern const char* const systemd_features; int version(void); diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index 1204b913c9..074de33eea 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -39,6 +39,7 @@ #include "strv.h" #include "syslog-util.h" #include "user-util.h" +#include "version.h" #include "virt.h" #include "watchdog.h" diff --git a/src/core/main.c b/src/core/main.c index a0e95b4373..822825ca6f 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -99,6 +99,7 @@ #include "time-util.h" #include "umask-util.h" #include "user-util.h" +#include "version.h" #include "virt.h" #include "watchdog.h" diff --git a/src/core/manager-dump.c b/src/core/manager-dump.c index e39aff5d89..4575a291e3 100644 --- a/src/core/manager-dump.c +++ b/src/core/manager-dump.c @@ -7,6 +7,7 @@ #include "manager-dump.h" #include "memstream-util.h" #include "unit-serialize.h" +#include "version.h" void manager_dump_jobs(Manager *s, FILE *f, char **patterns, const char *prefix) { Job *j; diff --git a/src/fundamental/sbat.h b/src/fundamental/sbat.h index a18da48038..b3c09dcb4c 100644 --- a/src/fundamental/sbat.h +++ b/src/fundamental/sbat.h @@ -1,7 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ -#include "version.h" - #ifdef SBAT_DISTRO # define SBAT_SECTION_TEXT \ "sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md\n" \ diff --git a/src/stdio-bridge/stdio-bridge.c b/src/stdio-bridge/stdio-bridge.c index 1b2c00734a..12abc18524 100644 --- a/src/stdio-bridge/stdio-bridge.c +++ b/src/stdio-bridge/stdio-bridge.c @@ -17,7 +17,6 @@ #include "io-util.h" #include "log.h" #include "main-func.h" -#include "version.h" #define DEFAULT_BUS_PATH "unix:path=/run/dbus/system_bus_socket" diff --git a/src/test/test-cgroup-setup.c b/src/test/test-cgroup-setup.c index c377ff0a00..e669e9b5ab 100644 --- a/src/test/test-cgroup-setup.c +++ b/src/test/test-cgroup-setup.c @@ -9,7 +9,6 @@ #include "proc-cmdline.h" #include "string-util.h" #include "tests.h" -#include "version.h" static void test_is_wanted_print_one(bool header) { _cleanup_free_ char *cmdline = NULL; diff --git a/src/test/test-cgroup-util.c b/src/test/test-cgroup-util.c index 4f430a1df2..afa6283011 100644 --- a/src/test/test-cgroup-util.c +++ b/src/test/test-cgroup-util.c @@ -15,7 +15,6 @@ #include "strv.h" #include "tests.h" #include "user-util.h" -#include "version.h" static void check_p_d_u(const char *path, int code, const char *result) { _cleanup_free_ char *unit = NULL; |