summaryrefslogtreecommitdiff
path: root/proto/mrt
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-01-23 19:51:24 +0100
committerMaria Matejka <mq@ucw.cz>2023-01-23 19:51:24 +0100
commit21b772fd4394feeb875121051c868eb9b738cb48 (patch)
treead36ec41ff73d82c3e0694c609e87bc6bddec3e6 /proto/mrt
parent758aabd96c0f09709183dff4261ffbfdd72ae870 (diff)
parent928a1cb034e6f9e8edcdd1dc07264cd703e00827 (diff)
Merge commit '928a1cb034e6f9e8edcdd1dc07264cd703e00827' into thread-next
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 f07f9ca2..82fd426a 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) \
- UNUSED static inline void mrt_put_##S##_(buffer *b, T x) \
+ static inline void UNUSED mrt_put_##S##_(buffer *b, T x) \
{ \
put_##S(b->pos, x); \
b->pos += sizeof(T); \
} \
\
- UNUSED static inline void mrt_put_##S(buffer *b, T x) \
+ static inline void UNUSED mrt_put_##S(buffer *b, T x) \
{ \
mrt_buffer_need(b, sizeof(T)); \
put_##S(b->pos, x); \