mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 14:40:31 +00:00
core: Clean up includes a little
This commit is contained in:
@@ -3,12 +3,11 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "sd-bus.h"
|
||||
#include "sd-event.h"
|
||||
|
||||
#include "list.h"
|
||||
#include "unit-dependency-atom.h"
|
||||
#include "unit-name.h"
|
||||
#include "unit.h"
|
||||
|
||||
typedef struct ActivationDetails ActivationDetails;
|
||||
typedef struct Job Job;
|
||||
@@ -17,6 +16,8 @@ typedef enum JobType JobType;
|
||||
typedef enum JobState JobState;
|
||||
typedef enum JobMode JobMode;
|
||||
typedef enum JobResult JobResult;
|
||||
typedef struct Manager Manager;
|
||||
typedef struct Unit Unit;
|
||||
|
||||
/* Be careful when changing the job types! Adjust job_merging_table[] accordingly! */
|
||||
enum JobType {
|
||||
|
||||
@@ -17,15 +17,12 @@ typedef enum UnitMountDependencyType {
|
||||
_UNIT_MOUNT_DEPENDENCY_TYPE_INVALID = -EINVAL,
|
||||
} UnitMountDependencyType;
|
||||
|
||||
#include "bpf-program.h"
|
||||
#include "cgroup.h"
|
||||
#include "condition.h"
|
||||
#include "emergency-action.h"
|
||||
#include "install.h"
|
||||
#include "list.h"
|
||||
#include "pidref.h"
|
||||
#include "set.h"
|
||||
#include "show-status.h"
|
||||
#include "unit-file.h"
|
||||
|
||||
typedef struct UnitRef UnitRef;
|
||||
|
||||
Reference in New Issue
Block a user