summaryrefslogtreecommitdiff
path: root/src/udev/libudev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/libudev.h')
-rw-r--r--src/udev/libudev.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/libudev.h b/src/udev/libudev.h
index 10e098d4f7..3bcddb2eb3 100644
--- a/src/udev/libudev.h
+++ b/src/udev/libudev.h
@@ -114,8 +114,6 @@ void udev_monitor_unref(struct udev_monitor *udev_monitor);
struct udev *udev_monitor_get_udev(struct udev_monitor *udev_monitor);
/* kernel and udev generated events over netlink */
struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char *name);
-/* custom socket (use netlink and filters instead) */
-struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path);
/* bind socket */
int udev_monitor_enable_receiving(struct udev_monitor *udev_monitor);
int udev_monitor_set_receive_buffer_size(struct udev_monitor *udev_monitor, int size);
@@ -127,6 +125,7 @@ int udev_monitor_filter_add_match_subsystem_devtype(struct udev_monitor *udev_mo
int udev_monitor_filter_add_match_tag(struct udev_monitor *udev_monitor, const char *tag);
int udev_monitor_filter_update(struct udev_monitor *udev_monitor);
int udev_monitor_filter_remove(struct udev_monitor *udev_monitor);
+__attribute__((deprecated)) struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path);
/*
* udev_enumerate