diff options
author | Felipe Sateler <fsateler@debian.org> | 2018-05-15 14:17:34 -0400 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2018-05-15 14:24:34 -0400 |
commit | 57b7a260c20f58a5c5d9c1e1aacde50646863919 (patch) | |
tree | 2c0321e30ee80d5502024b30d09aa99405660ec5 /src/core/swap.h | |
parent | 90a8f0b9a999b4bbb5110066266fd6d807e04aa3 (diff) | |
download | systemd-57b7a260c20f58a5c5d9c1e1aacde50646863919.tar.gz |
core: undo the dependency inversion between unit.h and all unit types
Diffstat (limited to 'src/core/swap.h')
-rw-r--r-- | src/core/swap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/swap.h b/src/core/swap.h index ec29ccfa6e..fdb14e667a 100644 --- a/src/core/swap.h +++ b/src/core/swap.h @@ -9,6 +9,7 @@ ***/ #include "libudev.h" +#include "unit.h" typedef struct Swap Swap; @@ -95,3 +96,5 @@ SwapExecCommand swap_exec_command_from_string(const char *s) _pure_; const char* swap_result_to_string(SwapResult i) _const_; SwapResult swap_result_from_string(const char *s) _pure_; + +DEFINE_CAST(SWAP, Swap); |