summaryrefslogtreecommitdiff
path: root/proto/mrt
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-09-30 11:54:11 +0200
committerMaria Matejka <mq@ucw.cz>2021-11-09 19:20:41 +0100
commit1e76f6e954e8043ec08c917c3f53e20f7dd06c99 (patch)
tree7eabe19a6f6e8aeffad98eed88ce407de968b12c /proto/mrt
parent69d1ffde4c724882398b3b630ea1199f12c0c288 (diff)
Suppressed MRT unused static function warning
Diffstat (limited to 'proto/mrt')
-rw-r--r--proto/mrt/mrt.c4
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); \