diff options
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_; |