diff options
author | Thomas Huth <thuth@redhat.com> | 2024-01-23 19:22:45 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-01-24 09:54:05 +0100 |
commit | fdd16f16f45119e799c238f82e07c72cad1d2a9e (patch) | |
tree | c93105d519f7bb667635dfe27132a749fc4304b4 /include | |
parent | 7536acb42631db1a34663407f4d6b803cb776790 (diff) | |
download | qemu-fdd16f16f45119e799c238f82e07c72cad1d2a9e.zip qemu-fdd16f16f45119e799c238f82e07c72cad1d2a9e.tar.gz qemu-fdd16f16f45119e799c238f82e07c72cad1d2a9e.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/uri.h | 2 |
1 files changed, 0 insertions, 2 deletions
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); |