core: Clean up includes a little

This commit is contained in:
Daan De Meyer
2024-08-09 14:07:34 +02:00
parent 6d2984d21b
commit 406e41cdef
2 changed files with 3 additions and 5 deletions

View File

@@ -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 {

View File

@@ -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;