Skip to content

Commit fdd16f1

Browse files
committed
util/uri: Remove unused functions uri_resolve() and uri_resolve_relative()
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 <sw@weilnetz.de> Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com> Message-ID: <20240123182247.432642-3-thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
1 parent 7536acb commit fdd16f1

File tree

2 files changed

+0
-691
lines changed

2 files changed

+0
-691
lines changed

include/qemu/uri.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ typedef struct URI {
7272
} URI;
7373

7474
URI *uri_new(void);
75-
char *uri_resolve(const char *URI, const char *base);
76-
char *uri_resolve_relative(const char *URI, const char *base);
7775
URI *uri_parse(const char *str);
7876
URI *uri_parse_raw(const char *str, int raw);
7977
int uri_parse_into(URI *uri, const char *str);

0 commit comments

Comments
 (0)