summaryrefslogtreecommitdiff
path: root/src/core/swap.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-08-22 14:43:11 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-08-23 04:57:39 +0900
commit4366e598aef9898ab9d2a71e834e330cc2999e5b (patch)
treeb5a1d3a70cf1de8a76e857ce15166e64f3207141 /src/core/swap.h
parent6bcf00eda33afbfe8fc43db72cea051b92ba42e8 (diff)
downloadsystemd-4366e598aef9898ab9d2a71e834e330cc2999e5b.tar.gz
core: replace udev_device by sd_device
Diffstat (limited to 'src/core/swap.h')
-rw-r--r--src/core/swap.h6
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_;