summaryrefslogtreecommitdiff
path: root/src/libudev/conf-files.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/conf-files.c')
-rw-r--r--src/libudev/conf-files.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/libudev/conf-files.c b/src/libudev/conf-files.c
index 5938481f6b..2baefffad5 100644
--- a/src/libudev/conf-files.c
+++ b/src/libudev/conf-files.c
@@ -146,20 +146,3 @@ int conf_files_list_strv(char ***strv, const char *suffix, const char *root, con
return conf_files_list_strv_internal(strv, suffix, root, copy);
}
-
-int conf_files_list(char ***strv, const char *suffix, const char *root, const char *dir, ...) {
- _cleanup_strv_free_ char **dirs = NULL;
- va_list ap;
-
- assert(strv);
- assert(suffix);
-
- va_start(ap, dir);
- dirs = strv_new_ap(dir, ap);
- va_end(ap);
-
- if (!dirs)
- return -ENOMEM;
-
- return conf_files_list_strv_internal(strv, suffix, root, dirs);
-}