summaryrefslogtreecommitdiff
path: root/src/udev/udev.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-20 20:09:34 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-21 11:05:02 -0500
commit4fd6af76c43e235d036dc55fbe1bf0c151b4e7dd (patch)
tree6032bf2e1259386bbbf4ebaaa0478f9289e37127 /src/udev/udev.h
parentbccfe92e4600632c6ef65ae8eda6ac7782a6aebf (diff)
udev-rules: log_oom() on memory error and abort processing of event
CID #1313566. Also, change the return value to void, because it is ignored anyway.
Diffstat (limited to 'src/udev/udev.h')
-rw-r--r--src/udev/udev.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/udev/udev.h b/src/udev/udev.h
index 1f9c8120c0..655880346b 100644
--- a/src/udev/udev.h
+++ b/src/udev/udev.h
@@ -71,9 +71,9 @@ struct udev_rules;
struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names);
struct udev_rules *udev_rules_unref(struct udev_rules *rules);
bool udev_rules_check_timestamp(struct udev_rules *rules);
-int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event,
- usec_t timeout_usec, usec_t timeout_warn_usec,
- struct udev_list *properties_list);
+void udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event,
+ usec_t timeout_usec, usec_t timeout_warn_usec,
+ struct udev_list *properties_list);
int udev_rules_apply_static_dev_perms(struct udev_rules *rules);
/* udev-event.c */