summaryrefslogtreecommitdiff
path: root/src/login/logind.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-08-22 14:53:51 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-08-23 04:57:39 +0900
commit4f209af7da0edee6b54c23b702354b35510e35e7 (patch)
tree43a65cf92f1b0c6f85560208a14df42b26eaf966 /src/login/logind.h
parent4366e598aef9898ab9d2a71e834e330cc2999e5b (diff)
downloadsystemd-4f209af7da0edee6b54c23b702354b35510e35e7.tar.gz
logind: replace udev_device by sd_device
Diffstat (limited to 'src/login/logind.h')
-rw-r--r--src/login/logind.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/logind.h b/src/login/logind.h
index a6ebc9e152..e25bc1e13f 100644
--- a/src/login/logind.h
+++ b/src/login/logind.h
@@ -5,6 +5,7 @@
#include "libudev.h"
#include "sd-bus.h"
+#include "sd-device.h"
#include "sd-event.h"
#include "conf-parser.h"
@@ -34,7 +35,6 @@ struct Manager {
LIST_HEAD(Session, session_gc_queue);
LIST_HEAD(User, user_gc_queue);
- struct udev *udev;
struct udev_monitor *udev_seat_monitor, *udev_device_monitor, *udev_vcsa_monitor, *udev_button_monitor;
sd_event_source *console_active_event_source;
@@ -133,8 +133,8 @@ int manager_add_user_by_name(Manager *m, const char *name, User **_user);
int manager_add_user_by_uid(Manager *m, uid_t uid, User **_user);
int manager_add_inhibitor(Manager *m, const char* id, Inhibitor **_inhibitor);
-int manager_process_seat_device(Manager *m, struct udev_device *d);
-int manager_process_button_device(Manager *m, struct udev_device *d);
+int manager_process_seat_device(Manager *m, sd_device *d);
+int manager_process_button_device(Manager *m, sd_device *d);
int manager_spawn_autovt(Manager *m, unsigned int vtnr);