summaryrefslogtreecommitdiff
path: root/src/shared/fstab-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 18:43:29 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:55 +0100
commit6550203eb471595e41e27f46e5d0a00a4c0e47bb (patch)
tree313df286e149a2f1d26ecbc609b0cde5cbda5d7d /src/shared/fstab-util.h
parent0d39fa9c69b97a2ceb156053deef69c0866c2b97 (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.h7
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);