summaryrefslogtreecommitdiff
path: root/udev/udev_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev_rules.h')
-rw-r--r--udev/udev_rules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/udev_rules.h b/udev/udev_rules.h
index 9a41ccbdd8..4f95121f30 100644
--- a/udev/udev_rules.h
+++ b/udev/udev_rules.h
@@ -108,13 +108,14 @@ struct udev_rule {
};
struct udev_rules {
+ struct udev *udev;
char *buf;
size_t bufsize;
size_t current;
int resolve_names;
};
-extern int udev_rules_init(struct udev_rules *rules, int resolve_names);
+extern int udev_rules_init(struct udev *udev, struct udev_rules *rules, int resolve_names);
extern void udev_rules_cleanup(struct udev_rules *rules);
extern void udev_rules_iter_init(struct udev_rules *rules);