]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: drop unnecessary inclusion of version.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 27 Jun 2023 21:08:47 +0000 (06:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 29 Jul 2023 19:56:38 +0000 (04:56 +0900)
src/analyze/analyze.c
src/basic/build.h
src/core/dbus-manager.c
src/core/main.c
src/core/manager-dump.c
src/fundamental/sbat.h
src/stdio-bridge/stdio-bridge.c
src/test/test-cgroup-setup.c
src/test/test-cgroup-util.c

index eb5fceba8deada246bd5b84068929f0347e0c627..b7c852a08c87ded81214d145d2f815db07b98629 100644 (file)
@@ -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;
index 27d44111d4c2fcd00f565a679a026ec634ef0832..5b7c83cad9ef5852e7138d3a9962d0989c15dc11 100644 (file)
@@ -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);
index 1204b913c9e4cc16a09fdab346df02fe51e22f09..074de33eeac45e03c365e63ef6ff8b81f79452bd 100644 (file)
@@ -39,6 +39,7 @@
 #include "strv.h"
 #include "syslog-util.h"
 #include "user-util.h"
+#include "version.h"
 #include "virt.h"
 #include "watchdog.h"
 
index a0e95b43735425a63f75cdfcdb5eb13b94c55e3c..822825ca6fb1426e393e5f7ff2b33753ac01abb4 100644 (file)
@@ -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"
 
index e39aff5d899de0aeba38c2c40c157fdd5b6e6475..4575a291e3b0db34b16d512b277128e281021d67 100644 (file)
@@ -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;
index a18da48038fdb6156246fe30d762aa68864cb4a5..b3c09dcb4c332e2cd0d774f8545ebbd51f4232d7 100644 (file)
@@ -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" \
index 1b2c00734afe4ebd86bae7e6cdfd2fe1bc36749b..12abc18524859b81d5ff808b0f471e77590ab7cf 100644 (file)
@@ -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"
 
index c377ff0a007a737e5e769900fe085526b8f9751d..e669e9b5ab261742c23b8fdc23344b06930b88e6 100644 (file)
@@ -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;
index 4f430a1df288c15587935d0d3f61b366108d307d..afa6283011fa082ea79583466407988127e5beee 100644 (file)
@@ -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;