diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-09-09 11:57:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-09-09 14:10:41 +0200 |
commit | 436cdf0a077e16daa5f1617460613a8a7924ccfd (patch) | |
tree | eaaa48a75a674e18d7245018b164dc439f4e1bf6 /src/core/swap.h | |
parent | core: also port mount units to PidRef (diff) | |
download | systemd-436cdf0a077e16daa5f1617460613a8a7924ccfd.tar.xz systemd-436cdf0a077e16daa5f1617460613a8a7924ccfd.zip |
core: also port swap units to PidRef
Diffstat (limited to 'src/core/swap.h')
-rw-r--r-- | src/core/swap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/swap.h b/src/core/swap.h index d61c7112cf..f2cae6766b 100644 --- a/src/core/swap.h +++ b/src/core/swap.h @@ -6,6 +6,8 @@ ***/ #include "sd-device.h" + +#include "pidref.h" #include "unit.h" typedef struct Swap Swap; @@ -73,7 +75,7 @@ struct Swap { ExecCommand* control_command; SwapExecCommand control_command_id; - pid_t control_pid; + PidRef control_pid; sd_event_source *timer_event_source; |