summaryrefslogtreecommitdiff
path: root/src/systemd/sd-device.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-10 22:50:11 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-10 22:53:00 +0900
commitdeb2b7348e746df9a471b61d71b41b0e871cacde (patch)
tree815fecf2b58edae1cc1394911fa10981d34a25f9 /src/systemd/sd-device.h
parentbf7712b63e70143e2b59e7f0d264293e6ca61d4d (diff)
downloadsystemd-deb2b7348e746df9a471b61d71b41b0e871cacde.tar.gz
sd-device: drop priority and description from sd_device_monitor_attach_event() and sd_device_monitor_start()
Now we have sd_device_monitor_get_event_soruce(). So, it is not necessary to include these parameters in the functions for sd_device_monitor.
Diffstat (limited to 'src/systemd/sd-device.h')
-rw-r--r--src/systemd/sd-device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemd/sd-device.h b/src/systemd/sd-device.h
index 4793e29237..3c5c88c56b 100644
--- a/src/systemd/sd-device.h
+++ b/src/systemd/sd-device.h
@@ -103,11 +103,11 @@ sd_device_monitor *sd_device_monitor_ref(sd_device_monitor *m);
sd_device_monitor *sd_device_monitor_unref(sd_device_monitor *m);
int sd_device_monitor_set_receive_buffer_size(sd_device_monitor *m, size_t size);
-int sd_device_monitor_attach_event(sd_device_monitor *m, sd_event *event, int64_t priority);
+int sd_device_monitor_attach_event(sd_device_monitor *m, sd_event *event);
int sd_device_monitor_detach_event(sd_device_monitor *m);
sd_event *sd_device_monitor_get_event(sd_device_monitor *m);
sd_event_source *sd_device_monitor_get_event_source(sd_device_monitor *m);
-int sd_device_monitor_start(sd_device_monitor *m, sd_device_monitor_handler_t callback, void *userdata, const char *description);
+int sd_device_monitor_start(sd_device_monitor *m, sd_device_monitor_handler_t callback, void *userdata);
int sd_device_monitor_stop(sd_device_monitor *m);
int sd_device_monitor_filter_add_match_subsystem_devtype(sd_device_monitor *m, const char *subsystem, const char *devtype);