aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/writer.c b/src/writer.c
index 94c03f06..aaf2f175 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -150,7 +150,7 @@ w_err(SerdWriter* writer, SerdStatus st, const char* fmt, ...)
va_end(args);
}
-static inline SERD_PURE_FUNC WriteContext*
+SERD_PURE_FUNC static WriteContext*
anon_stack_top(SerdWriter* writer)
{
assert(!serd_stack_is_empty(&writer->anon_stack));
@@ -173,7 +173,7 @@ copy_node(SerdNode* dst, const SerdNode* src)
}
}
-static inline size_t
+static size_t
sink(const void* buf, size_t len, SerdWriter* writer)
{
return serd_byte_sink_write(buf, len, &writer->byte_sink);
@@ -211,7 +211,7 @@ write_character(SerdWriter* writer, const uint8_t* utf8, size_t* size)
return sink(escape, 10, writer);
}
-static inline bool
+static bool
uri_must_escape(const uint8_t c)
{
switch (c) {
@@ -552,7 +552,7 @@ write_literal(SerdWriter* writer,
}
// Return true iff `buf` is a valid prefixed name suffix
-static inline bool
+static bool
is_name(const uint8_t* buf, const size_t len)
{
// TODO: This is more strict than it should be
@@ -755,7 +755,7 @@ write_node(SerdWriter* writer,
return ret;
}
-static inline bool
+static bool
is_resource(const SerdNode* node)
{
return node && node->buf && node->type > SERD_LITERAL;