chiark / gitweb /
core: rework how we match mount units against each other
[elogind.git] / src / core / swap.h
index 121889d1d5e1b1c0760cd3862419898aeee7eb86..dd89535895dd53e5af86cb71a90088e56a0387f0 100644 (file)
@@ -88,6 +88,7 @@ struct Swap {
         ExecCommand exec_command[_SWAP_EXEC_COMMAND_MAX];
         ExecContext exec_context;
         KillContext kill_context;
+        CGroupContext cgroup_context;
 
         SwapState state, deserialized_state;
 
@@ -106,8 +107,6 @@ struct Swap {
 
 extern const UnitVTable swap_vtable;
 
-int swap_add_one_mount_link(Swap *s, Mount *m);
-
 int swap_dispatch_reload(Manager *m);
 int swap_fd_event(Manager *m, int events);