From fdd16f16f45119e799c238f82e07c72cad1d2a9e Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Tue, 23 Jan 2024 19:22:45 +0100 Subject: util/uri: Remove unused functions uri_resolve() and uri_resolve_relative() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These rather complex functions have never been used since they've been introduced in 2012, so looks like they are not really useful for QEMU. And since the static normalize_uri_path() function is also only used by uri_resolve(), we can remove that function now, too. Reviewed-by: Stefan Weil Reviewed-by: "Daniel P. Berrangé" Message-ID: <20240123182247.432642-3-thuth@redhat.com> Reviewed-by: Richard Henderson Signed-off-by: Thomas Huth --- include/qemu/uri.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/qemu/uri.h b/include/qemu/uri.h index f0722b7..899ce85 100644 --- a/include/qemu/uri.h +++ b/include/qemu/uri.h @@ -72,8 +72,6 @@ typedef struct URI { } URI; URI *uri_new(void); -char *uri_resolve(const char *URI, const char *base); -char *uri_resolve_relative(const char *URI, const char *base); URI *uri_parse(const char *str); URI *uri_parse_raw(const char *str, int raw); int uri_parse_into(URI *uri, const char *str); -- cgit v1.1