mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-11 17:08:46 +00:00
Suppressed MRT unused static function warning
This commit is contained in:
parent
69d1ffde4c
commit
1e76f6e954
@ -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); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user