summaryrefslogtreecommitdiffstats
path: root/src/udev/udevadm-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-08-29 10:28:05 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-10-16 20:31:20 +0200
commit13aca847695f49afeb93367ecdad76035fa6c139 (patch)
tree872ea8199baa1d230c1a9a3bdf93d3d291ae2b97 /src/udev/udevadm-util.h
parentudevadm-monitor: replace udev_monitor by sd_device_monitor (diff)
downloadsystemd-13aca847695f49afeb93367ecdad76035fa6c139.tar.xz
systemd-13aca847695f49afeb93367ecdad76035fa6c139.zip
udevadm-info,trigger: replace udev_device by sd_device
Diffstat (limited to 'src/udev/udevadm-util.h')
-rw-r--r--src/udev/udevadm-util.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/udev/udevadm-util.h b/src/udev/udevadm-util.h
index 0cb0a5ca9f..59e89022a0 100644
--- a/src/udev/udevadm-util.h
+++ b/src/udev/udevadm-util.h
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0+ */
#pragma once
-#include "udev.h"
+#include "sd-device.h"
-struct udev_device *find_device(const char *id,
- const char *prefix);
+int find_device(const char *id, const char *prefix, sd_device **ret);