diff options
author | Maria Matejka <mq@ucw.cz> | 2021-09-30 11:54:11 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-11-09 19:20:41 +0100 |
commit | 1e76f6e954e8043ec08c917c3f53e20f7dd06c99 (patch) | |
tree | 7eabe19a6f6e8aeffad98eed88ce407de968b12c | |
parent | 69d1ffde4c724882398b3b630ea1199f12c0c288 (diff) |
Suppressed MRT unused static function warning
-rw-r--r-- | proto/mrt/mrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/mrt/mrt.c b/proto/mrt/mrt.c index 03f0d59e..5da3c7c6 100644 --- a/proto/mrt/mrt.c +++ b/proto/mrt/mrt.c @@ -113,13 +113,13 @@ mrt_buffer_flush(buffer *b) } #define MRT_DEFINE_TYPE(S, T) \ - static inline void mrt_put_##S##_(buffer *b, T x) \ + UNUSED static inline void mrt_put_##S##_(buffer *b, T x) \ { \ put_##S(b->pos, x); \ b->pos += sizeof(T); \ } \ \ - static inline void mrt_put_##S(buffer *b, T x) \ + UNUSED static inline void mrt_put_##S(buffer *b, T x) \ { \ mrt_buffer_need(b, sizeof(T)); \ put_##S(b->pos, x); \ |