diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-26 18:43:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 13:25:55 +0100 |
commit | 6550203eb471595e41e27f46e5d0a00a4c0e47bb (patch) | |
tree | 313df286e149a2f1d26ecbc609b0cde5cbda5d7d /src/shared/fstab-util.h | |
parent | 0d39fa9c69b97a2ceb156053deef69c0866c2b97 (diff) |
util-lib: move fstab_node_to_udev_node() to fstab-util.[ch]
Diffstat (limited to 'src/shared/fstab-util.h')
-rw-r--r-- | src/shared/fstab-util.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/shared/fstab-util.h b/src/shared/fstab-util.h index 872b2363cd..5ebea44019 100644 --- a/src/shared/fstab-util.h +++ b/src/shared/fstab-util.h @@ -23,11 +23,12 @@ #include <stdbool.h> #include <stddef.h> + #include "macro.h" bool fstab_is_mount_point(const char *mount); -int fstab_filter_options(const char *opts, const char *names, - const char **namefound, char **value, char **filtered); + +int fstab_filter_options(const char *opts, const char *names, const char **namefound, char **value, char **filtered); int fstab_extract_values(const char *opts, const char *name, char ***values); @@ -49,3 +50,5 @@ static inline bool fstab_test_yes_no_option(const char *opts, const char *yes_no return opt == yes_no; } + +char *fstab_node_to_udev_node(const char *p); |