mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
core: Break circular dependency between unit.h and cgroup.h
This commit is contained in:
parent
f2bd752215
commit
90a8f0b9a9
@ -127,7 +127,8 @@ typedef enum CGroupIPAccountingMetric {
|
||||
_CGROUP_IP_ACCOUNTING_METRIC_INVALID = -1,
|
||||
} CGroupIPAccountingMetric;
|
||||
|
||||
#include "unit.h"
|
||||
typedef struct Unit Unit;
|
||||
typedef struct Manager Manager;
|
||||
|
||||
void cgroup_context_init(CGroupContext *c);
|
||||
void cgroup_context_done(CGroupContext *c);
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
#include "sd-bus.h"
|
||||
|
||||
#include "unit.h"
|
||||
#include "cgroup.h"
|
||||
|
||||
extern const sd_bus_vtable bus_cgroup_vtable[];
|
||||
|
Loading…
Reference in New Issue
Block a user