mirror of
https://github.com/systemd/systemd
synced 2024-07-22 02:34:54 +00:00
tree-wide: drop unnecessary inclusion of version.h
This commit is contained in:
parent
4122d68682
commit
bdb577f545
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include "strv.h"
|
||||
#include "syslog-util.h"
|
||||
#include "user-util.h"
|
||||
#include "version.h"
|
||||
#include "virt.h"
|
||||
#include "watchdog.h"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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" \
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue