summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 13:37:12 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 13:37:12 +0100
commit01c9f3d78e596336434fd313e4ed8bdc8db248b6 (patch)
tree87a0b798471e94d072ed54213c19fe200eda38f4 /proto
parent36f5fea31a61d9067d81ffb1620fdf174f47d5e4 (diff)
parent575da88f7a6cac54d204839d2b2cfc1809811ba3 (diff)
Merge commit '575da88f' into haugesund
Conflicts: nest/rt-table.c
Diffstat (limited to 'proto')
-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); \