aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uri.c')
-rw-r--r--src/uri.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/uri.c b/src/uri.c
index 234bf834..53574600 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -9,8 +9,8 @@
#include "serd/memory.h"
#include "serd/status.h"
#include "serd/stream.h"
-#include "serd/string_view.h"
#include "serd/uri.h"
+#include "zix/string_view.h"
#include <assert.h>
#include <stdbool.h>
@@ -245,7 +245,7 @@ remove_dot_segments(const char* const path, const size_t len, size_t* const up)
/// Merge `base` and `path` in-place
static void
-merge(SerdStringView* const base, SerdStringView* const path)
+merge(ZixStringView* const base, ZixStringView* const path)
{
size_t up = 0;
const char* begin = remove_dot_segments(path->data, path->length, &up);
@@ -543,10 +543,10 @@ is_dir_sep(const char c)
}
size_t
-serd_write_file_uri(const SerdStringView path,
- const SerdStringView hostname,
- const SerdWriteFunc sink,
- void* const stream)
+serd_write_file_uri(const ZixStringView path,
+ const ZixStringView hostname,
+ const SerdWriteFunc sink,
+ void* const stream)
{
const bool is_windows = is_windows_path(path.data);
size_t len = 0U;