summaryrefslogtreecommitdiffstats
path: root/src/shared/fstab-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-11 11:10:32 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-11 11:25:15 +0100
commitd6cef552dcb4764a89269ce9603eb21f348d911a (patch)
treece40e5a18e760bdcda7c9910bddab759fd0829b2 /src/shared/fstab-util.h
parentshared/fstab-util: teach fstab_filter_options() a mode where all values are r... (diff)
downloadsystemd-d6cef552dcb4764a89269ce9603eb21f348d911a.tar.xz
systemd-d6cef552dcb4764a89269ce9603eb21f348d911a.zip
fstab-generator: get rid of fstab_extract_values()
This was a parallel implementation of option parsing that didn't support escaping of separators. Let's port this over to the common code. Fixes #18952.
Diffstat (limited to 'src/shared/fstab-util.h')
-rw-r--r--src/shared/fstab-util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/fstab-util.h b/src/shared/fstab-util.h
index 97f40221af..6b596baafa 100644
--- a/src/shared/fstab-util.h
+++ b/src/shared/fstab-util.h
@@ -18,8 +18,6 @@ int fstab_filter_options(
char ***ret_values,
char **ret_filtered);
-int fstab_extract_values(const char *opts, const char *name, char ***values);
-
static inline bool fstab_test_option(const char *opts, const char *names) {
return !!fstab_filter_options(opts, names, NULL, NULL, NULL, NULL);
}