diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-08-22 14:43:11 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-08-23 04:57:39 +0900 |
commit | 4366e598aef9898ab9d2a71e834e330cc2999e5b (patch) | |
tree | b5a1d3a70cf1de8a76e857ce15166e64f3207141 /src/core/swap.h | |
parent | 6bcf00eda33afbfe8fc43db72cea051b92ba42e8 (diff) | |
download | systemd-4366e598aef9898ab9d2a71e834e330cc2999e5b.tar.gz |
core: replace udev_device by sd_device
Diffstat (limited to 'src/core/swap.h')
-rw-r--r-- | src/core/swap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/swap.h b/src/core/swap.h index 1c0c7fcadc..1a4b60b957 100644 --- a/src/core/swap.h +++ b/src/core/swap.h @@ -5,7 +5,7 @@ Copyright © 2010 Maarten Lankhorst ***/ -#include "libudev.h" +#include "sd-device.h" #include "unit.h" typedef struct Swap Swap; @@ -85,8 +85,8 @@ struct Swap { extern const UnitVTable swap_vtable; -int swap_process_device_new(Manager *m, struct udev_device *dev); -int swap_process_device_remove(Manager *m, struct udev_device *dev); +int swap_process_device_new(Manager *m, sd_device *dev); +int swap_process_device_remove(Manager *m, sd_device *dev); const char* swap_exec_command_to_string(SwapExecCommand i) _const_; SwapExecCommand swap_exec_command_from_string(const char *s) _pure_; |