From 258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 30 Aug 2023 20:43:05 -0400 Subject: Use ZixStringView directly --- src/log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/log.c') diff --git a/src/log.c b/src/log.c index 6ba885c6..a13bfd9a 100644 --- a/src/log.c +++ b/src/log.c @@ -10,9 +10,9 @@ #include "serd/log.h" #include "serd/node.h" #include "serd/status.h" -#include "serd/string_view.h" #include "serd/world.h" #include "zix/attributes.h" +#include "zix/string_view.h" #if USE_ISATTY # include @@ -120,7 +120,7 @@ serd_quiet_log_func(void* const handle, const SerdLogLevel level, const size_t n_fields, const SerdLogField* const fields, - const SerdStringView message) + const ZixStringView message) { (void)handle; (void)level; @@ -219,7 +219,7 @@ serd_vxlogf(const SerdWorld* const world, level, n_fields, fields, - serd_substring(message, (size_t)r)); + zix_substring(message, (size_t)r)); } return serd_default_vxlogf( -- cgit v1.2.1