aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-14 10:24:40 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-17 09:27:21 +0100
commit9a07157dd538704631e997dbc9a9f40cb4c1006b (patch)
tree84d0fe9f4f01ef9bd242f917e92095db7971eac3 /src/test
parentudev: make udev_rules_new() return a proper error code (diff)
downloadsystemd-9a07157dd538704631e997dbc9a9f40cb4c1006b.tar.gz
systemd-9a07157dd538704631e997dbc9a9f40cb4c1006b.tar.bz2
systemd-9a07157dd538704631e997dbc9a9f40cb4c1006b.zip
udev: use typedef for struct udev_rules
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-udev.c b/src/test/test-udev.c
index 9165fad73..74450e132 100644
--- a/src/test/test-udev.c
+++ b/src/test/test-udev.c
@@ -55,7 +55,7 @@ static int fake_filesystems(void) {
}
static int run(int argc, char *argv[]) {
- _cleanup_(udev_rules_freep) struct udev_rules *rules = NULL;
+ _cleanup_(udev_rules_freep) UdevRules *rules = NULL;
_cleanup_(udev_event_freep) struct udev_event *event = NULL;
_cleanup_(sd_device_unrefp) sd_device *dev = NULL;
const char *devpath, *devname, *action;