diff options
-rw-r--r-- | src/byte_source.h | 2 | ||||
-rw-r--r-- | src/writer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/byte_source.h b/src/byte_source.h index a8045c64..48794a37 100644 --- a/src/byte_source.h +++ b/src/byte_source.h @@ -70,7 +70,7 @@ serd_byte_source_prepare(SerdByteSource* source); SerdStatus serd_byte_source_page(SerdByteSource* source); -static inline uint8_t +static inline SERD_PURE_FUNC uint8_t serd_byte_source_peek(SerdByteSource* source) { assert(source->prepared); diff --git a/src/writer.c b/src/writer.c index 12c94e9c..82ac5eeb 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 WriteContext* +static inline SERD_PURE_FUNC WriteContext* anon_stack_top(SerdWriter* writer) { assert(!serd_stack_is_empty(&writer->anon_stack)); |