chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
031ec29
)
core: Break circular dependency between unit.h and cgroup.h
author
Felipe Sateler
<fsateler@debian.org>
Tue, 15 May 2018 18:12:22 +0000
(14:12 -0400)
committer
Sven Eden
<yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000
(16:47 +0200)
src/core/cgroup.h
patch
|
blob
|
history
diff --git
a/src/core/cgroup.h
b/src/core/cgroup.h
index 4e0155b11cbea047e28eaa75a99eea9d46802b64..a6b705aa65eb598e8a11be1c638d62359689ca0d 100644
(file)
--- a/
src/core/cgroup.h
+++ b/
src/core/cgroup.h
@@
-128,7
+128,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);