summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-builtin.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-13 18:22:14 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-10-23 11:28:38 +0200
commit3fc2e9a247cd6e2725168d49b908b6a0821c2516 (patch)
tree386f7ce6a92c1e795bb10a7a16321011d7e67179 /src/udev/udev-builtin.h
parentudev: replace udev_device by sd_device in udev-builtin-usb_id.c (diff)
downloadsystemd-3fc2e9a247cd6e2725168d49b908b6a0821c2516.tar.xz
systemd-3fc2e9a247cd6e2725168d49b908b6a0821c2516.zip
udev: replace udev_device by sd_device from prototype of udev builtin commands
Diffstat (limited to 'src/udev/udev-builtin.h')
-rw-r--r--src/udev/udev-builtin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/udev/udev-builtin.h b/src/udev/udev-builtin.h
index 497bf184eb..1c316b162c 100644
--- a/src/udev/udev-builtin.h
+++ b/src/udev/udev-builtin.h
@@ -3,8 +3,9 @@
#include <stdbool.h>
+#include "sd-device.h"
+
#include "libudev.h"
-#include "libudev-device-internal.h"
enum udev_builtin_cmd {
#if HAVE_BLKID
@@ -29,7 +30,7 @@ enum udev_builtin_cmd {
struct udev_builtin {
const char *name;
- int (*cmd)(struct udev_device *dev, int argc, char *argv[], bool test);
+ int (*cmd)(sd_device *dev, int argc, char *argv[], bool test);
const char *help;
int (*init)(void);
void (*exit)(void);