summaryrefslogtreecommitdiff
path: root/udev_rules.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-11-05 20:00:31 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-05 20:00:31 +0100
commit287814b23cd564043391ce449f27e6ccd9d244e4 (patch)
treef55b43012e145fbcfa3cbaf9945cadfe4a45c531 /udev_rules.h
parent3904a7581776cffc7ddaf4adbfbea8a57ab1adaa (diff)
remove precompiled rules option
It was a workaround for speed up udev "coldplug", where ~800 events happened a second time during bootup. No need for it with the rules aleady parsed in the daemon. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_rules.h')
-rw-r--r--udev_rules.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/udev_rules.h b/udev_rules.h
index be13378e4e..6d9d306ded 100644
--- a/udev_rules.h
+++ b/udev_rules.h
@@ -100,11 +100,10 @@ struct udev_rules {
char *buf;
size_t bufsize;
size_t current;
- int mapped;
int resolve_names;
};
-extern int udev_rules_init(struct udev_rules *rules, int read_compiled, int resolve_names);
+extern int udev_rules_init(struct udev_rules *rules, int resolve_names);
extern void udev_rules_close(struct udev_rules *rules);
extern void udev_apply_format(struct udevice *udev, char *string, size_t maxsize,