diff options
author | David Robillard <d@drobilla.net> | 2021-01-09 19:16:02 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-09 19:25:30 +0100 |
commit | 7ceba786800e8e4d728c13f07d8b9e2788eeab17 (patch) | |
tree | 6d0bbbadfbdff067efae5d5acd6fa234161d06f6 | |
parent | dc963989ba790e64a88a5255c2b9b7e3c1fbf828 (diff) | |
download | serd-7ceba786800e8e4d728c13f07d8b9e2788eeab17.tar.gz serd-7ceba786800e8e4d728c13f07d8b9e2788eeab17.tar.bz2 serd-7ceba786800e8e4d728c13f07d8b9e2788eeab17.zip |
Add missing pure attributes
-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)); |