From 7ef69d7918244997bd3d5f12d58b5c5de9e7b2f9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Mar 2025 11:46:09 -0400 Subject: Avoid "static inline" outside headers --- src/writer.c | 2 +- test/test_uri.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/writer.c b/src/writer.c index 406fb884..7b14133f 100644 --- a/src/writer.c +++ b/src/writer.c @@ -238,7 +238,7 @@ sink(const void* const buf, const size_t len, SerdWriter* const writer) return written; } -SERD_NODISCARD static inline SerdStatus +SERD_NODISCARD static SerdStatus esink(const void* const buf, const size_t len, SerdWriter* const writer) { return sink(buf, len, writer) == len ? SERD_SUCCESS : SERD_ERR_BAD_WRITE; diff --git a/test/test_uri.c b/test/test_uri.c index 5177359c..44afc4d3 100644 --- a/test/test_uri.c +++ b/test/test_uri.c @@ -206,7 +206,7 @@ test_uri_from_string(void) serd_node_free(&base); } -static inline bool +static bool chunk_equals(const SerdChunk* const a, const SerdChunk* const b) { return (!a->len && !b->len && !a->buf && !b->buf) || -- cgit v1.2.1