summaryrefslogtreecommitdiff
path: root/src/libudev/conf-files.c
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-06 00:18:45 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-06 00:18:45 -0400
commit6f8f3edfe8dd70e24105d889f664ff033eb0555e (patch)
treec9a74b97b9c9cc01cd2608ba1506f8c70f2d8df6 /src/libudev/conf-files.c
parentac6af1454474115a0105f07c5704e13e40d0ff0e (diff)
Round 3 of remove unused functions from src/libudev/{conf-files,hashmap,util}
The following functions were removed: strv_env_get_n strv_env_get conf_files_list hashmap_remove hashmap_move log_dump_internal parse_uid read_full_file strstrip file_in_same_dir cunescape cunescape_length cunescape_length_with_prefix xescape dirent_is_file close_all_fds read_one_char ask reset_terminal_fd reset_terminal flush_fd loop_read get_ctty_devnr get_ctty rm_rf_children rm_rf_children_dangerous rm_rf status_vprintf fd_columns columns fd_lines lines on_tty ellipsize ellipsize_mem touch unquote resolve_dev_console tty_is_vc vtnr_from_tty terminal_vhangup_fd terminal_vhangup file_is_priv_sticky signal_from_string fd_wait_for_event memdup memdup_multiply Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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);
-}