summaryrefslogtreecommitdiffstats
path: root/src/shared/udev-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-12-14 08:40:10 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-12-15 18:14:47 +0100
commit1223227f952a1939a592760ae437e417ba24bb01 (patch)
tree6bb57d0eea3d5a0dfd1f6564be84fe4c40630b3e /src/shared/udev-util.h
parentudev: move util_replace_chars() to udev-util.c (diff)
downloadsystemd-1223227f952a1939a592760ae437e417ba24bb01.tar.xz
systemd-1223227f952a1939a592760ae437e417ba24bb01.zip
udev: move util_resolve_subsys_kernel() to udev-util.c
Diffstat (limited to 'src/shared/udev-util.h')
-rw-r--r--src/shared/udev-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/udev-util.h b/src/shared/udev-util.h
index f20e32b4d2..94ec970c50 100644
--- a/src/shared/udev-util.h
+++ b/src/shared/udev-util.h
@@ -38,3 +38,4 @@ void log_device_uevent(sd_device *device, const char *str);
int udev_rule_parse_value(char *str, char **ret_value, char **ret_endpos);
size_t udev_replace_whitespace(const char *str, char *to, size_t len);
size_t udev_replace_chars(char *str, const char *allow);
+int udev_resolve_subsys_kernel(const char *string, char *result, size_t maxsize, bool read_value);