diff options
author | David Robillard <d@drobilla.net> | 2025-03-10 11:46:09 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-03-16 20:22:37 -0400 |
commit | 7ef69d7918244997bd3d5f12d58b5c5de9e7b2f9 (patch) | |
tree | 1fff3f523989c2a3c79453960f4dbbd477a3e0c1 | |
parent | 4fd2e196ddc227d347bbbee4e0cb49ff17034d47 (diff) | |
download | serd-7ef69d7918244997bd3d5f12d58b5c5de9e7b2f9.tar.gz serd-7ef69d7918244997bd3d5f12d58b5c5de9e7b2f9.tar.bz2 serd-7ef69d7918244997bd3d5f12d58b5c5de9e7b2f9.zip |
Avoid "static inline" outside headers
-rw-r--r-- | src/writer.c | 2 | ||||
-rw-r--r-- | 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) || |