From: Maria Matejka Date: Thu, 30 Sep 2021 09:54:11 +0000 (+0200) Subject: Suppressed MRT unused static function warning X-Git-Tag: 3.0-alpha0~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e76f6e954e8043ec08c917c3f53e20f7dd06c99;p=thirdparty%2Fbird.git Suppressed MRT unused static function warning --- diff --git a/proto/mrt/mrt.c b/proto/mrt/mrt.c index 03f0d59e7..5da3c7c6b 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); \